From ee6cc7c79ec2879005655d497bd38f6bcfd39736 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sat, 3 Feb 2024 12:39:41 -0600 Subject: [PATCH] clarifying comment --- frigate/ptz/onvif.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frigate/ptz/onvif.py b/frigate/ptz/onvif.py index dc4d2f3a9..8c969cfbf 100644 --- a/frigate/ptz/onvif.py +++ b/frigate/ptz/onvif.py @@ -69,6 +69,7 @@ class OnvifController: media = onvif.create_media_service() try: + # this will fire an exception if camera is not a ptz capabilities = onvif.get_definition("ptz") logger.debug(f"Onvif capabilities for {camera_name}: {capabilities}") profile = media.GetProfiles()[0]