Browse Source

add freeze_support

Huan 5 năm trước cách đây
mục cha
commit
ffa29f9f06
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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()