format main.py

This commit is contained in:
maxid
2025-12-28 23:41:52 +01:00
parent 4f74a5bee6
commit 8b8559a50f

View File

@@ -12,6 +12,7 @@ class ISOJsonFormatter(JsonFormatter):
dt = datetime.fromtimestamp(record.created, tz=timezone.utc)
return dt.isoformat(timespec="milliseconds").replace("+00:00", "Z")
LOG_LEVEL = logging.DEBUG
LOG_FILE = Path(os.getenv("LOG_FILE", "/app/config/media_manager.log"))
LOGGING_CONFIG = {