Browse Source

add freeze_support

Huan 5 years ago
parent
commit
ffa29f9f06
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Hello.py

+ 2 - 1
Hello.py

@@ -1,4 +1,4 @@
-from multiprocessing import Process, Queue
+from multiprocessing import Process, Queue, freeze_support
 import threading
 from _tkinter import TclError
 import tkinter
@@ -697,4 +697,5 @@ def cotan_main():
 
 
 if __name__ == "__main__":
+    freeze_support()
     cotan_main()