1
0
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:
Ciaran Gultnieks 2016-03-13 20:49:38 +00:00
parent fc0746712d
commit bc131856d2

View File

@ -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)