Fix syntax errors and undefined names in Python code (#1515)

This commit is contained in:
Christian Clauss
2022-09-27 09:57:08 +02:00
committed by GitHub
parent 8436e88a07
commit fa736d1ee9
7 changed files with 50 additions and 39 deletions

View File

@ -268,6 +268,6 @@ def removeapps(req):
return render(req, 'appstore.html', {'alist': json.dumps(avaliable_list),'flist': json.dumps(user_file_list)})
# Test
if __name__ == "__main__":
print(device_list[0]['IP'])
print(device['IP'])
# if __name__ == "__main__":
# print(device_list[0]['IP'])
# print(device['IP'])