소스 검색

还原alarm值

locky 4 달 전
부모
커밋
4a1fc02044
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Service/DevicePushService.py

+ 1 - 1
Service/DevicePushService.py

@@ -308,7 +308,7 @@ class DevicePushService:
                             'device_uid': params['uid'],
                             'device_nick_name': params['nickname'],
                             'channel': params['channel'],
-                            'alarm': '',
+                            'alarm': 'Motion \tChannel:{}'.format(params['channel']),
                             'is_st': params['is_st'],
                             'add_time': int(time.time()),
                             'storage_location': params['storage_location'],