Allow pickle for autosave
This commit is contained in:
parent
39bccf8792
commit
b2ce71cbdd
@ -104,7 +104,7 @@ def verify_file(filename, checksum):
|
||||
"""Verify if the file matches the function call."""
|
||||
file_checksum = 0
|
||||
if os.path.exists(filename):
|
||||
data = np.load(filename)
|
||||
data = np.load(filename, allow_pickle=True)
|
||||
if 'checksum' in data:
|
||||
file_checksum = data['checksum']
|
||||
return file_checksum == checksum
|
||||
|
Loading…
Reference in New Issue
Block a user