From bcef94de4a6be62e1ee64890d17265d8d512e72d Mon Sep 17 00:00:00 2001 From: Sergey Krashevich Date: Mon, 19 Jun 2023 23:52:46 +0300 Subject: [PATCH] black... --- frigate/http.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frigate/http.py b/frigate/http.py index dd93e0c51..57f140398 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -1611,7 +1611,9 @@ def logs(service: str): log_locations = { "frigate": "/dev/shm/logs/frigate/current", "go2rtc": "/dev/shm/logs/go2rtc/current", - "nginx": "/dev/shm/logs/nginx/error_log" if current_app.frigate_config.logger.default in ["warning", "error", "critical"] else "/dev/shm/logs/nginx/access_log", + "nginx": "/dev/shm/logs/nginx/error_log" + if current_app.frigate_config.logger.default in ["warning", "error", "critical"] + else "/dev/shm/logs/nginx/access_log", } service_location = log_locations.get(service)