1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-03-09 15:40:18 +00:00

Change json output

This commit is contained in:
Tlams 2018-05-03 18:09:45 +01:00
parent 0ffabaab4b
commit 33b3b88612

View file

@ -134,7 +134,7 @@ class InstanceBc:
date = core.getkey(date)["value"]
idmongo = core.generalquerycacheinfra("instances", date, cluster, node, vmid)["value"][0]["_id"]["$oid"]
I = Instance()
result = json.loads(I.GET(idmongo, action))["value"]
result = json.loads(I.GET(idmongo, action))
except BaseException as e:
result = {