@@ -370,7 +370,3 @@ def change_direction(direction):
return (direction[2], direction[3], direction[0], direction[1])
else:
return direction
-
-_imported = False
@@ -18,7 +18,6 @@ from dongri_define import *
from dongri_pic import *
import subprocess
import socket
-from dongri_pic import _imported
from datetime import datetime, timedelta
import datetime as dt
@@ -105,14 +104,7 @@ def task_acceptTask():
myTimeSleep_big()
-def init():
- global _imported
- if not _imported:
- acceptTask = threading.Thread(target=task_acceptTask)
- acceptTask.daemon = True
- if acceptTask.is_alive() == False:
- acceptTask.start()
- _imported = True
+
class basic_operate: