Fixed except

This commit is contained in:
Florian Rupp 2023-04-21 18:32:48 +02:00
parent 75dda28308
commit 3c40861c70

View file

@ -160,7 +160,7 @@ if __name__ == '__main__':
handle_sessions_changed() handle_sessions_changed()
time.sleep(FETCH_INTERVAL) time.sleep(FETCH_INTERVAL)
except KeyboardInterrupt: except:
print("Manual interrupt...") print("Terminating...")
observer.stop() observer.stop()
observer.join() observer.join()