From 460a5bc4f4e78ea7128d52a21fb9c9c4036ec806 Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Sun, 27 Nov 2022 11:17:58 -0800 Subject: [PATCH] Cleanup --- comictaggerlib/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comictaggerlib/log.py b/comictaggerlib/log.py index e022f67..04f510f 100644 --- a/comictaggerlib/log.py +++ b/comictaggerlib/log.py @@ -19,7 +19,7 @@ def setup_logging(verbose: int, log_dir: pathlib.Path) -> None: logging.getLogger("comictaggerlib").setLevel(logging.DEBUG) log_file = log_dir / "ComicTagger.log" - log_file.parent.mkdir(parents=True, exist_ok=True) + log_dir.mkdir(parents=True, exist_ok=True) stream_handler = logging.StreamHandler() file_handler = get_file_handler(log_file)