chanjunkai il y a 5 ans
Parent
commit
ba74855e97
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      controller/index.py

+ 1 - 1
controller/index.py

@@ -260,7 +260,7 @@ class oa2RtspStartView(TemplateView):
             logger.info('开始打印---------------------------')
             logger.info(MSG)
             logger.info(st)
-            if int(st) == 1:
+            if int(st) == 0:
                 send_flag = self.runSendStop(UID, PWD, MSG)
                 if send_flag:
                     return JsonResponse({'msg': 'stop yes', 'code': 0})