From ff12424ba32e4040573acd0d255460b1b5b4cc2e Mon Sep 17 00:00:00 2001 From: Ashish D'Souza Date: Sun, 24 Mar 2024 10:44:00 -0500 Subject: [PATCH] Fixed NtfyNotifier constructor bug --- uptime/src/uptime/monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uptime/src/uptime/monitor.py b/uptime/src/uptime/monitor.py index b166cd2..fac370f 100644 --- a/uptime/src/uptime/monitor.py +++ b/uptime/src/uptime/monitor.py @@ -18,7 +18,7 @@ class CameraMonitor: self._consecutive_down_threshold = consecutive_down_threshold self._camera_downtime = Counter() self._frigate_config = FrigateConfig() - self._ntfy_notifier = NtfyNotifier + self._ntfy_notifier = NtfyNotifier() async def _on_camera_up(self, camera: str) -> None: logger.info(f"Camera {camera} is back online")