From 6d451df4d29b9e003445ba7d1c508362fe0fd475 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sun, 22 Oct 2023 07:26:36 -0600 Subject: [PATCH] Remove unused named exception --- frigate/ptz/onvif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/ptz/onvif.py b/frigate/ptz/onvif.py index a6e13c414..55e2e0b4b 100644 --- a/frigate/ptz/onvif.py +++ b/frigate/ptz/onvif.py @@ -490,7 +490,7 @@ class OnvifController: status_request = self.cams[camera_name]["status_request"] try: status = onvif.get_service("ptz").GetStatus(status_request) - except Exception as e: + except Exception: pass # We're unsupported, that'll be reported in the next check. # there doesn't seem to be an onvif standard with this optional parameter