fixing vmcreate
This commit is contained in:
parent
d84106f21d
commit
0f968b8fb6
1 changed files with 1 additions and 1 deletions
2
grid.py
2
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()
|
||||
|
|
Loading…
Reference in a new issue