Explorar el Código

优化消息提醒文案冲突

zhangdongming hace 1 año
padre
commit
684723b034
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Service/DevicePushService.py

+ 1 - 1
Service/DevicePushService.py

@@ -483,7 +483,7 @@ class DevicePushService:
                 msg_type = '摄像头唤醒'
             elif event_type in [606, 607]:
                 msg_type = '有人呼叫,请点击查看'
-            elif event_type not in [606, 607] and ai_type > 0 and event_list:
+            if event_type not in [606, 607] and ai_type > 0 and event_list:
                 msg_type = ''.join([DevicePushService.get_event_type_text(lang, item, dealings_type)
                                     for item in event_list])
             if is_sys: