mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-17 22:47:16 -04:00
Fix python2/makebuildserver breakage
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user