mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-08-29 09:49:33 +03:00
create: Fix creation when no network sources are found
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user