From 0f968b8fb627da6aa5eb756f4d6f5d84a1896f4d Mon Sep 17 00:00:00 2001 From: deflax Date: Thu, 3 Nov 2016 07:11:13 +0200 Subject: [PATCH] fixing vmcreate --- grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grid.py b/grid.py index ecdbb19..a0562f3 100644 --- a/grid.py +++ b/grid.py @@ -28,7 +28,7 @@ def query_vm(req_cube_id): def querydb(cubeid): """ open a metadata file """ try: - dbfile = 'db/vm.{}.json'.format(cube) + dbfile = 'db/vm.{}.json'.format(cubeid) dbf = open(dbfile, 'r') data = json.load(dbf) dbf.close()