mirror of
https://github.com/aclist/dztui.git
synced 2026-08-25 17:32:36 +02:00
chore: clear typehinting errors
This commit is contained in:
parent
ca234b8dea
commit
c839672f85
@ -8,7 +8,7 @@ from dzgui.config.convert import rc2json
|
||||
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
|
||||
j = rc2json(old_conf)
|
||||
return json.loads(j)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user