mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-28 13:26:43 +01:00
py3 compat
This commit is contained in:
parent
44790fb7a2
commit
f2384437ca
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ def upload_to_staging(self, tdir, files):
|
|||
|
||||
with open(os.path.join(tdir, 'fmap'), 'wb') as fo:
|
||||
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:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue