mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
Fix python2/makebuildserver breakage
This commit is contained in:
parent
fc0746712d
commit
bc131856d2
@ -303,7 +303,7 @@ wanted = []
|
||||
|
||||
|
||||
def sha256_for_file(path):
|
||||
with open(path, 'r') as f:
|
||||
with open(path, 'rb') as f:
|
||||
s = hashlib.sha256()
|
||||
while True:
|
||||
data = f.read(4096)
|
||||
|
Loading…
Reference in New Issue
Block a user