mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 14:42:54 +01:00
fix: ensure log path exists
This commit is contained in:
1 parent
42e9cf6378
commit
f83eca7c18
1 file changed
+4
@@ -64,6 +64,10 @@ def main() -> None:
|
|||||||
xdg_paths = get_xdg_paths()
|
xdg_paths = get_xdg_paths()
|
||||||
XDG = parse_filepaths(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:
|
if has_new_config(XDG.config) is False:
|
||||||
migrate_legacy_conf(XDG.config)
|
migrate_legacy_conf(XDG.config)
|
||||||
migrate_cols_file(XDG.columns)
|
migrate_cols_file(XDG.columns)
|
||||||
|
|||||||
Reference in new issue
Block a user