From f83eca7c1841e057e01e7b962e3799c1cc4bdb41 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Thu, 8 Jan 2026 17:15:27 +0900 Subject: [PATCH] fix: ensure log path exists --- dzgui/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dzgui/main.py b/dzgui/main.py index d91c187..1ba0c1d 100644 --- a/dzgui/main.py +++ b/dzgui/main.py @@ -64,6 +64,10 @@ def main() -> None: xdg_paths = get_xdg_paths() XDG = parse_filepaths(xdg_paths) + # NOTE: required for logs to be written + if XDG.debug.is_file() is False: + XDG.debug.parent.mkdir(parents=True, exist_ok=True) + if has_new_config(XDG.config) is False: migrate_legacy_conf(XDG.config) migrate_cols_file(XDG.columns)