mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
More py3 compat
This commit is contained in:
parent
bb3a1f700d
commit
011bba1a58
@ -73,7 +73,7 @@ def upload_signatures():
|
||||
raw = f.read()
|
||||
fingerprint = hashlib.sha512(raw).hexdigest()
|
||||
sha512 = os.path.join(tdir, os.path.basename(installer + '.sha512'))
|
||||
with open(sha512, 'wb') as f:
|
||||
with open(sha512, 'w') as f:
|
||||
f.write(fingerprint)
|
||||
scp.append(sha512)
|
||||
for srv in 'code main'.split():
|
||||
|
Loading…
x
Reference in New Issue
Block a user