Explorar o código

修改休眠通知

zhangdongming hai 1 ano
pai
achega
aa5a7c5a1b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Service/DevicePushService.py

+ 2 - 0
Service/DevicePushService.py

@@ -460,6 +460,8 @@ class DevicePushService:
         event_list = []
         if event_tag:
             event_list = [int(event) for event in event_tag.split(',') if event]
+            if 702 in event_list:
+                event_list.remove(702)
         if lang == 'cn':
             if event_type == 51:
                 msg_type = '检测到画面变化'