diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2022-06-07 10:20:52 +0200 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2022-06-08 10:27:06 +0200 |
commit | 1b5281c2a1eb9e48d28eee1ad7aef7f5bcc21038 (patch) | |
tree | 3b4cf684f1cbe91655d1e9c6dcbbfedae7b9cfe1 /src/live | |
parent | c159c76294b6f22386ae619418cec99f4860cc25 (diff) |
live: enable details for libfdisk context objectv1.2.1
Enables details in libfidsk context constructor call. Ensures size are
displayed as bytes (and not as a human readable string).
Avoids further arithmetical errors (e.g: converting from bytes to KB)
Diffstat (limited to 'src/live')
-rw-r--r-- | src/live/ogOperations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index c93212d..a576389 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -332,7 +332,7 @@ class OgLiveOperations: logging.debug('refresh: processing %s', disk) part_setup = {} try: - cxt = fdisk.Context(device=f'/dev/{disk}') + cxt = fdisk.Context(device=f'/dev/{disk}', details=True) except: continue |