Commit 079d9443 authored by segfault's avatar segfault Committed by intrigeri
Browse files

Fix incorrect variant type passed to call_format_sync (refs: #16153)

parent bf53a94a
......@@ -205,13 +205,10 @@ class ImageCreator(object):
def format_partition(self):
logger.info("Formatting partition")
options = GLib.Variant(
'a{sv}',
{
options = GLib.Variant('a{sv}', {
'label': GLib.Variant('s', FILESYSTEM_LABEL),
'update-partition-type': GLib.Variant('s', 'FALSE')
}
)
'update-partition-type': GLib.Variant('b', False)
})
self.partition.props.block.call_format_sync(
arg_type='vfat',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment