HOTFIX: hand over path as str 2
All checks were successful
Mypy / mypy (push) Successful in 1m14s
Pytest / pytest (3.13) (push) Successful in 1m13s
Pytest / pytest (3.14) (push) Successful in 1m19s
Pytest / pytest (3.12) (push) Successful in 1m18s
Ruff / ruff (push) Successful in 1m3s

This commit is contained in:
Justus Kuhlmann 2026-03-24 18:50:30 +01:00
commit 38b4983fed
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -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