HOTFIX: hand over path as str 2
This commit is contained in:
parent
b8121811f9
commit
38b4983fed
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ def load_records(path: Path, meas_paths: list[str], preloaded: dict[str, Any] =
|
|||
if cache_enabled(path):
|
||||
if not os.path.exists(cache_dir(path, file)):
|
||||
os.makedirs(cache_dir(path, file))
|
||||
dump_object(preloaded[file][key], cache_path(path, file, key))
|
||||
dump_object(preloaded[file][key], str(cache_path(path, file, key)))
|
||||
return returned_data
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue