mirror of
https://github.com/aclist/dztui.git
synced 2026-10-29 06:02:51 +01:00
Merge pull request #18 from aclist/feat/liststore-dataclass
feat: add liststore annotations upfront
This commit is contained in:
2 files changed
+66
-7
No files matched your search
@@ -11,6 +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.write_text(j)
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user