diff --git a/qubesmanager/qvm_template_gui.py b/qubesmanager/qvm_template_gui.py index 944680f..2870de5 100644 --- a/qubesmanager/qvm_template_gui.py +++ b/qubesmanager/qvm_template_gui.py @@ -38,7 +38,7 @@ class Template(typing.NamedTuple): 'Name', 'Version', 'Reponame', - 'Size (kB)', + 'Size (MB)', 'Build Time', 'Install Time', 'License', @@ -53,7 +53,7 @@ class Template(typing.NamedTuple): entry['name'], '%s:%s-%s' % (entry['epoch'], entry['version'], entry['release']), entry['reponame'], - int(entry['size']) // 1000, + int(entry['size']) // 1000000, entry['buildtime'], entry['installtime'], entry['license'],