mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 19:25:22 +03:00
Formatting
This commit is contained in:
parent
d66a305996
commit
665271af87
@ -105,7 +105,9 @@ for name in go2rtc_config.get("streams", {}):
|
|||||||
**FRIGATE_ENV_VARS
|
**FRIGATE_ENV_VARS
|
||||||
)
|
)
|
||||||
except KeyError as e:
|
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)
|
sys.exit(e)
|
||||||
|
|
||||||
elif isinstance(stream, list):
|
elif isinstance(stream, list):
|
||||||
@ -113,7 +115,9 @@ for name in go2rtc_config.get("streams", {}):
|
|||||||
try:
|
try:
|
||||||
go2rtc_config["streams"][name][i] = stream.format(**FRIGATE_ENV_VARS)
|
go2rtc_config["streams"][name][i] = stream.format(**FRIGATE_ENV_VARS)
|
||||||
except KeyError as e:
|
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)
|
sys.exit(e)
|
||||||
|
|
||||||
# add birdseye restream stream if enabled
|
# add birdseye restream stream if enabled
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user