Fix: Log-Verzeichnis mit parents=True erstellen, um FileNotFoundError zu vermeiden

This commit is contained in:
2026-01-20 19:50:42 +01:00
parent df1bb65136
commit c8e1a541cd
+1 -1
View File
@@ -51,7 +51,7 @@ def main():
from conf import config_path
log_dir = config_path.parent / "logs"
log_dir.mkdir(exist_ok=True)
log_dir.mkdir(parents=True, exist_ok=True)
# Alte Log-Dateien aufräumen
cleanup_old_logs(log_dir, max_age_hours=24)