Added allow_pickle in autosave_data

This commit is contained in:
sebastiankloth 2022-06-09 08:35:49 +02:00
parent cfe7b9db4c
commit 93686c1361

View File

@ -171,7 +171,7 @@ def autosave_data(nargs, kwargs_keys=None, version=None):
filename = get_filename(function, csum, description, *relevant_args)
if autoload and (verify_file(filename, csum) or verify_file(filename, legacy_csum)):
result = load_data(filename)
result = load_data(filename, allow_pickle)
else:
result = function(*args, **kwargs)
save_data(filename, csum, result)