Explorar el Código

除去停流60s

chanjunkai hace 5 años
padre
commit
cf328eb6fb
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      controller/index.py

+ 1 - 2
controller/index.py

@@ -408,9 +408,8 @@ class oa2DiscoveryDevice(TemplateView):
             else:
                 return response.json(0, res={'msg': 'error'})
 
-
+#新增
 def testRunSendStop(UID, PWD, MSG):
-    time.sleep(60)
     command = "./pushtool {UID} {PWD} {MSG} 0".format(UID=UID, PWD=PWD, MSG=MSG)
     print('command=>{command}'.format(command=command))
     try: