mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
...
This commit is contained in:
parent
5807e56bde
commit
6dc9091911
@ -311,7 +311,7 @@ def download_tarball():
|
|||||||
os.remove(dest)
|
os.remove(dest)
|
||||||
try:
|
try:
|
||||||
with open(cached_sigf, 'wb') as f:
|
with open(cached_sigf, 'wb') as f:
|
||||||
f.write(bytes(signature))
|
f.write(signature.encode('utf-8'))
|
||||||
except IOError as e:
|
except IOError as e:
|
||||||
if e.errno != errno.EACCES:
|
if e.errno != errno.EACCES:
|
||||||
raise
|
raise
|
||||||
|
Loading…
x
Reference in New Issue
Block a user