mirror of
https://github.com/aclist/dztui.git
synced 2026-10-29 14:12:45 +01:00
chore: clear errors
This commit is contained in:
1 parent
f3ad104b1b
commit
e64feac425
19 files changed
+56
-72
No files matched your search
@@ -11,8 +11,7 @@ def migrate_legacy_conf(config: Path) -> None:
|
||||
old_conf = Path.home() / LEGACY_CONFIG_PATH
|
||||
if old_conf.is_file():
|
||||
j = rc2json(old_conf)
|
||||
# FIXME: superfluous use of Path()
|
||||
Path(config).parent.mkdir(parents=True, exist_ok=True)
|
||||
config.parent.mkdir(parents=True, exist_ok=True)
|
||||
config.write_text(j)
|
||||
else:
|
||||
print("Unimplemented. You must have a working dztuirc.")
|
||||
|
||||
Reference in new issue
Block a user