diff --git a/frigate/restream.py b/frigate/restream.py index c0b99f579..bf4e29362 100644 --- a/frigate/restream.py +++ b/frigate/restream.py @@ -3,7 +3,6 @@ import logging import requests -import urllib.parse from frigate.config import FrigateConfig @@ -26,7 +25,7 @@ class RestreamApi: for input in camera.ffmpeg.inputs: if "restream" in input.roles: - if input.path.startswith('rtsp'): + if input.path.startswith("rtsp"): self.relays[cam_name] = input.path else: # go2rtc only supports rtsp for direct relay, otherwise ffmpeg is used