mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -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:
|
if ret == False:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
self.guest.nics.append(ret)
|
if ret != None:
|
||||||
|
self.guest.nics.append(ret)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user