Fixed missing loop bug

This commit is contained in:
2026-07-29 16:12:12 +01:00
parent 7052b78cce
commit ae2f3119d7

11
main.py
View File

@@ -62,11 +62,12 @@ def main() -> None:
diskPollThread.start() diskPollThread.start()
try: while True:
event = diskEventQueue.get_nowait() try:
print(event) event = diskEventQueue.get_nowait()
except Empty: print(event)
sleep(1) except Empty:
sleep(1)
finally: finally:
stopEvent.set() stopEvent.set()