mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Fix python2/makebuildserver breakage
This commit is contained in:
parent
fc0746712d
commit
bc131856d2
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue