@@ -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:
if not algorithm:
return ',' + str(event_type) + ','