chore: clear errors

This commit is contained in:
aclist committed 2026-05-05 22:46:16 +09:00
1 parent f3ad104b1b
commit e64feac425
19 files changed
+56 -72

No files matched your search

+1 -2
View File
@@ -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.")