mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-25 23:21:45 +03:00
create: Fix backtrace when showing all OS options
This commit is contained in:
parent
8f6b1f977b
commit
2eb2397527
@ -801,7 +801,7 @@ class vmmCreate(vmmGObjectUI):
|
||||
def populate_os_variant_model(self, _type):
|
||||
model = self.widget("install-os-version").get_model()
|
||||
model.clear()
|
||||
if _type == None:
|
||||
if not _type:
|
||||
self._add_os_row(model, None, _("Generic"), True)
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user