try to use idle() even when exceptions occured

This commit is contained in:
Franzi 2024-07-19 10:56:39 +02:00
parent dad7cbfcfe
commit 927adfa0da

View file

@ -202,6 +202,9 @@ def main():
if __name__ == "__main__": if __name__ == "__main__":
try: try:
main() main()
except: except Exception:
traceback.print_exc() traceback.print_exc()
time.sleep(30) try:
idle(30, None, None, None)
except Exception:
time.sleep(30)