mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-16 18:25:02 -06:00
create: Fix creation when no network sources are found
This commit is contained in:
parent
afecfd9163
commit
4075899085
@ -1297,7 +1297,9 @@ class vmmCreate(gobject.GObject):
|
||||
if ret == False:
|
||||
return False
|
||||
|
||||
self.guest.nics.append(ret)
|
||||
if ret != None:
|
||||
self.guest.nics.append(ret)
|
||||
|
||||
return True
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user