|
@@ -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:
|