Show number of tries

This commit is contained in:
bashrc committed 2019-11-15 22:42:50 +00:00
1 parent ee8679a731
commit cfd468c595
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ def saveJson(jsonObject: {},filename: str) -> bool:
commentjson.dump(jsonObject, fp, indent=2, sort_keys=False)
return True
except:
print('WARN: saveJson')
print('WARN: saveJson '+str(tries))
time.sleep(1)
tries+=1
return False