Skip to content

Commit c3b88e5

Browse files
authored
Add files via upload
1 parent 887cf2b commit c3b88e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/gui.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import multiprocessing
2-
multiprocessing.set_start_method('spawn')
2+
# Set the start method at the very beginning
3+
if __name__ == '__main__':
4+
multiprocessing.set_start_method('spawn', force=True)
35

46
import sys
57
import os

0 commit comments

Comments
 (0)