Ver código fonte

除去停流60s

chanjunkai 5 anos atrás
pai
commit
cf328eb6fb
1 arquivos alterados com 1 adições e 2 exclusões
  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: