Weird little bugt

This commit is contained in:
Joshua Boniface 2018-06-11 13:16:42 -04:00
parent 39dce1cd93
commit 3c35142523
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class VMInstance:
self.dom = self.lookupByUUID(self.domuuid)
print(self.state)
if self.dom == None and self.state == 'migrate':
if self.dom == None or self.state == 'migrate':
continue
if self.dom.state()[0] == libvirt.VIR_DOMAIN_RUNNING or self.state != 'migrate':