diff --git a/clientsdb.py b/clientsdb.py index a079823..4f93d70 100644 --- a/clientsdb.py +++ b/clientsdb.py @@ -107,7 +107,7 @@ def clientvms(vmlist): response = {} for vmid,data in vmlist.items(): - response = { str(vmid):data } + response[vmid] = data return response diff --git a/plugin.py b/plugin.py index b7dceb9..dea1075 100644 --- a/plugin.py +++ b/plugin.py @@ -303,5 +303,6 @@ def getmyip(): if __name__ == '__main__': #internal module tests time.sleep(1) - print(vmvnc(656758)) + vmvnc(656758) + #vmstart(656758)