HOTFIX: hand over path as str
This commit is contained in:
parent
2fd46d452b
commit
b8121811f9
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ def preload(path: Path, file: Path) -> dict[str, Any]:
|
|||
The data read from the file.
|
||||
"""
|
||||
get(path, file)
|
||||
filedict: dict[str, Any] = pj.load_json_dict(path / file)
|
||||
filedict: dict[str, Any] = pj.load_json_dict(str(path / file))
|
||||
print("> read file")
|
||||
return filedict
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue