Просмотр исходного кода

优化英文组合推送文案

zhangdongming 1 год назад
Родитель
Сommit
9594dae1d7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Service/DevicePushService.py

+ 1 - 1
Service/DevicePushService.py

@@ -526,7 +526,7 @@ class DevicePushService:
                 msg_type = 'Camera wake'
             elif event_type in [606, 607]:
                 msg_type = 'Someone is calling, please click to view'
-            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: