mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
py3 compat
This commit is contained in:
parent
44790fb7a2
commit
f2384437ca
@ -283,7 +283,7 @@ class UploadInstallers(Command): # {{{
|
|||||||
|
|
||||||
with open(os.path.join(tdir, 'fmap'), 'wb') as fo:
|
with open(os.path.join(tdir, 'fmap'), 'wb') as fo:
|
||||||
for f, desc in iteritems(files):
|
for f, desc in iteritems(files):
|
||||||
fo.write('%s: %s\n' % (f, desc))
|
fo.write(('%s: %s\n' % (f, desc)).encode('utf-8'))
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user