From 3177c4095764a0b15a7f82e9d0e2796a1f2272b4 Mon Sep 17 00:00:00 2001 From: dsutanto Date: Thu, 5 Mar 2026 19:22:36 +0700 Subject: [PATCH] Fix bug --- frigate_counter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate_counter.py b/frigate_counter.py index a8c0c30..e27a325 100644 --- a/frigate_counter.py +++ b/frigate_counter.py @@ -180,7 +180,7 @@ class FrigateCounter: # Handle different object types if label == "pintu-kiri-buka" and not self.timer_active and not self.pintu_kiri_buka_detected and self.pintu_kiri_buka_zone_name in zones_after: self.handle_pintu_kiri_buka(camera_name) - elif label == "pintu-kanan-buka" and not self.timer_active and not self.pintu_kanan_buka_detectedi and self.pintu_kanan_buka_zone_name in zones_after: + elif label == "pintu-kanan-buka" and not self.timer_active and not self.pintu_kanan_buka_detected and self.pintu_kanan_buka_zone_name in zones_after: self.handle_pintu_kanan_buka(camera_name) elif label == "karung" and self.timer_active: self.handle_karung(camera_name, track_id)