bug fixed that add extra space in QEMU command when there is no network to be attached

This commit is contained in:
ahmadbilalkhalid 2020-01-05 21:59:24 +05:00
parent ec40d6b1e0
commit ef0f13534a
1 changed files with 4 additions and 1 deletions

View File

@ -153,7 +153,10 @@ class VM:
)
)
return command.split(" ")
if command:
command = command.split(' ')
return command
def delete_network_dev(self):
try: