mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 22:52:42 +01:00
chore: clear typehinting errors
This commit is contained in:
1 parent
ca234b8dea
commit
c839672f85
1 file changed
+1
-1
@@ -8,7 +8,7 @@ from dzgui.config.convert import rc2json
|
|||||||
from dzgui.util._json import read_json, write_json
|
from dzgui.util._json import read_json, write_json
|
||||||
|
|
||||||
|
|
||||||
def migrate_legacy_conf(config: Path) -> dict[str, Any]:
|
def migrate_legacy_conf(config: Path) -> Any:
|
||||||
old_conf = Path.home() / LEGACY_CONFIG_PATH
|
old_conf = Path.home() / LEGACY_CONFIG_PATH
|
||||||
j = rc2json(old_conf)
|
j = rc2json(old_conf)
|
||||||
return json.loads(j)
|
return json.loads(j)
|
||||||
|
|||||||
Reference in new issue
Block a user