0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00

log file shard

This commit is contained in:
KubaPro010
2025-11-08 20:31:55 +01:00
parent da209d129e
commit 55fa91a1a2
5 changed files with 23 additions and 5 deletions

View File

@@ -2,7 +2,11 @@ from modules import ActiveModifier, InterModuleCommunication, PlayerModule
from . import PlaylistAdvisor, log95, Path
import os, datetime
logger = log95.log95("ADVISOR")
from typing import TextIO
_log_file: TextIO
assert _log_file # pyright: ignore[reportUnboundVariable]
logger = log95.log95("ADVISOR", output=_log_file)
MORNING_START = 5
MORNING_END = 10