mirror of
https://github.com/RPCSX/mbuild.git
synced 2026-01-31 01:05:17 +01:00
util.py: read hashes file with rb
Change-Id: I93f9bdcadb5012089b1db016251924c3f217c624
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user