chenjunkai %!s(int64=5) %!d(string=hai) anos
pai
achega
5babbf0000
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controller/index.py

+ 1 - 1
controller/index.py

@@ -194,7 +194,7 @@ class oa2RtspStartView(TemplateView):
             print(UID)
             print(PWD)
             print(MSG)
-            if st:
+            if int(st) == 1:
                 send_flag = self.runSendStop(UID, PWD, MSG)
                 if send_flag:
                     return JsonResponse({'msg': 'stop yes', 'code': 0})