Skip to content

Commit ef872e3

Browse files
authored
fixed eternal restart-loop (#170)
* Fixed circref, advSearch bug * fixed eternal restart-loop
1 parent 9c4dd6a commit ef872e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Accounting.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from multiprocessing import freeze_support
12
import logging
23
import sys
34
import time
@@ -124,6 +125,7 @@ def watch_keyboard(keyboard, use_hotkeys):
124125

125126

126127
if __name__ == "__main__":
128+
freeze_support()
127129
loglevel = logging.INFO
128130
if len(sys.argv) > 1 and sys.argv[1] in ("-d", "--debug"):
129131
loglevel = logging.DEBUG

0 commit comments

Comments
 (0)