live: report correct partition size unit in setup() log

Log the correct partition size unit. Use MiB instead of MB.
master
Alejandro Sirgo Rica 2024-10-01 16:49:58 +02:00
parent e30e934272
commit f0953c969a
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ class OgLiveOperations:
logging.info(f'Setting up partition layout to {table_type}')
for part in partlist:
logging.info(f'Creating partition {part["partition"]} with {part["code"]} of {int(part["size"])//1024} Mbytes')
logging.info(f'Creating partition {part["partition"]} with {part["code"]} of {int(part["size"])//1024} MiB')
if part["code"] == 'EMPTY':
continue
if ogRest.terminated: