From 9ec1466c2dc64e7e8e115fd0d189a6d41cc8fb7a Mon Sep 17 00:00:00 2001 From: Ahmad Bilal Khalid Date: Sat, 20 Jul 2019 20:19:44 +0500 Subject: [PATCH] fix missing : --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 6d28b4e..e6adc8e 100644 --- a/main.py +++ b/main.py @@ -113,7 +113,7 @@ def start_vm(vm_path, e): # uservms pool then checkwhether the e.key.split("/").pop() # exists in rbd_ls(uservms_pool) - if not vm_path.split("/")[-1] in RBD.ls("uservms") + if not vm_path.split("/")[-1] in RBD.ls("uservms"): logging.info(f"Image file of vm {e.key} does not exists") logging.info(f"Setting vm {e.key} status to DELETED") e.value["status"] = "DELETED"