fix validated id list

This commit is contained in:
deflax 2016-05-16 15:56:40 +03:00
parent 1fdcca9882
commit 690826ace1
2 changed files with 3 additions and 2 deletions

View file

@ -107,7 +107,7 @@ def clientvms(vmlist):
response = {} response = {}
for vmid,data in vmlist.items(): for vmid,data in vmlist.items():
response = { str(vmid):data } response[vmid] = data
return response return response

View file

@ -303,5 +303,6 @@ def getmyip():
if __name__ == '__main__': if __name__ == '__main__':
#internal module tests #internal module tests
time.sleep(1) time.sleep(1)
print(vmvnc(656758)) vmvnc(656758)
#vmstart(656758)