diff --git a/docker/main/rootfs/usr/local/go2rtc/create_config.py b/docker/main/rootfs/usr/local/go2rtc/create_config.py index 58c9ccdda1..7d69dc4157 100644 --- a/docker/main/rootfs/usr/local/go2rtc/create_config.py +++ b/docker/main/rootfs/usr/local/go2rtc/create_config.py @@ -105,7 +105,9 @@ **FRIGATE_ENV_VARS ) except KeyError as e: - print("[ERROR] Invalid substitution found, see https://docs.frigate.video/configuration/restream#advanced-restream-configurations for more info.") + print( + "[ERROR] Invalid substitution found, see https://docs.frigate.video/configuration/restream#advanced-restream-configurations for more info." + ) sys.exit(e) elif isinstance(stream, list): @@ -113,7 +115,9 @@ try: go2rtc_config["streams"][name][i] = stream.format(**FRIGATE_ENV_VARS) except KeyError as e: - print("[ERROR] Invalid substitution found, see https://docs.frigate.video/configuration/restream#advanced-restream-configurations for more info.") + print( + "[ERROR] Invalid substitution found, see https://docs.frigate.video/configuration/restream#advanced-restream-configurations for more info." + ) sys.exit(e) # add birdseye restream stream if enabled