Procházet zdrojové kódy

优化消息提醒文案冲突

zhangdongming před 1 rokem
rodič
revize
684723b034
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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: