From 95da7db7f9d3f358f6d7b6920ae5afef09abda5b Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Sat, 2 Jun 2018 00:38:58 -0400 Subject: [PATCH] Wat --- VMInstance.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/VMInstance.py b/VMInstance.py index ad73b8d5..b078857c 100644 --- a/VMInstance.py +++ b/VMInstance.py @@ -39,7 +39,10 @@ class VMInstance: print('Failed to create domain %s' % self.domuuid) if dom == None: - self.zk.set(self.zkey + '/status', 'stop'.encode('ascii')) + try: + self.zk.set(self.zkey + '/status', 'stop'.encode('ascii')) + except: + pass return None if not self.domuuid in self.thishypervisor.domain_list: