Skip to content

Commit 642baf8

Browse files
committed
Update pickle loading in bin/check_db to use fix_imports=True and encoding='latin1' for consistency
1 parent a0ff423 commit 642baf8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/check_db

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def testfile(dbfile, listname=None, verbose=0):
9494

9595
# Now load the actual data
9696
fp.seek(0)
97-
data = pickle.load(fp)
97+
data = pickle.load(fp, fix_imports=True, encoding='latin1')
9898
if verbose:
9999
# Get pickle version info
100100
fp.seek(0)

0 commit comments

Comments
 (0)