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