浏览代码

修改AI类型

zhangdongming 2 年之前
父节点
当前提交
33cf83eecf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Service/DevicePushService.py

+ 1 - 1
Service/DevicePushService.py

@@ -175,7 +175,7 @@ class DevicePushService:
         algorithm = False
         if ai_type > 0 and detection == 1:
             algorithm = True
-        elif ai_type == 7 or event_type == 47:
+        elif ai_type == 7 or ai_type == 47:
             algorithm = True
         if not algorithm:
             return ',' + str(event_type) + ','