From 3c3514252382b808ed7a147c3c9e9f7a8514b8be Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Mon, 11 Jun 2018 13:16:42 -0400 Subject: [PATCH] Weird little bugt --- VMInstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VMInstance.py b/VMInstance.py index 80b99d3b..a37a588f 100644 --- a/VMInstance.py +++ b/VMInstance.py @@ -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':