mirror of
https://github.com/RPCSX/mbuild.git
synced 2024-11-23 02:09:41 +00:00
util.py: read hashes file with rb
Change-Id: I93f9bdcadb5012089b1db016251924c3f217c624
This commit is contained in:
parent
4347e71179
commit
62b09da335
@ -460,7 +460,7 @@ def write_signatures(fn,d):
|
||||
def read_signatures(fn):
|
||||
"""Return a dictionary of d[file]=hash from the specified file"""
|
||||
try:
|
||||
f = open(fn,"r")
|
||||
f = open(fn,"rb")
|
||||
d = apickle.load(f)
|
||||
f.close()
|
||||
return d
|
||||
|
Loading…
Reference in New Issue
Block a user