This commit is contained in:
hubobel 2026-06-16 17:37:44 +02:00
parent 551a4abd13
commit f0f034d7e4

View file

@ -16,7 +16,11 @@ import logging
# Logging # Logging
# -------------------------------------------------- # --------------------------------------------------
if platform.system() == "Windows":
log_dir = Path(__file__).parent / "logs"
else:
log_dir = Path.home() / "logs" log_dir = Path.home() / "logs"
log_dir.mkdir(exist_ok=True) log_dir.mkdir(exist_ok=True)
log_file = log_dir / "categorize_transactions.log" log_file = log_dir / "categorize_transactions.log"
@ -446,3 +450,5 @@ else:
logging.warning( logging.warning(
"Keine Synchronisationsmethode gefunden." "Keine Synchronisationsmethode gefunden."
) )
logging.info("=== Scriptende ===")