aboutsummaryrefslogtreecommitdiff
path: root/app/ui/hub.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/ui/hub.py')
-rw-r--r--app/ui/hub.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/ui/hub.py b/app/ui/hub.py
index ef41d0b..fa05685 100644
--- a/app/ui/hub.py
+++ b/app/ui/hub.py
@@ -26,7 +26,6 @@ import json
import shutil
import sys
import urllib.parse
-from datetime import datetime
from pathlib import Path
from typing import Callable, Optional, Tuple
@@ -1803,7 +1802,7 @@ def _prepare_run_config(backend: str, kwargs: dict
info = get(backend)
if info is not None:
label = info.label
- log_path = str(LOGS_FOLDER / f"audiobook_{datetime.now():%Y%m%d}.log")
+ log_path = str(logging_kit.stream_path("audiobook", LOGS_FOLDER))
# The run view points failures at this file, so make sure it exists
# from the moment a run starts — even when the run dies before the
# converter's setup_logging creates it.