diff --git a/VMInstance.py b/VMInstance.py index 685dd9e3..218302d3 100644 --- a/VMInstance.py +++ b/VMInstance.py @@ -107,8 +107,8 @@ class VMInstance: ansiiprint.echo('Successfully restarted VM', '{}:'.format(self.domuuid), 'o') except libvirt.libvirtError as e: ansiiprint.echo('Failed to restart VM', '{}:'.format(self.domuuid), 'e') - self.zk.set('/domains/{}/state'.format(self.domuuid), 'start'.encode('ascii')) + self.zk.set('/domains/{}/state'.format(self.domuuid), 'start'.encode('ascii')) conn.close() self.inrestart = False