mirror of
https://github.com/aclist/dztui.git
synced 2026-08-26 09:47:36 +02:00
fix: ensure log path exists
This commit is contained in:
parent
42e9cf6378
commit
f83eca7c18
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user