mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 21:05:34 +01:00
Pull from driver-dev
This commit is contained in:
commit
dead3be4a5
1 changed files with 2 additions and 2 deletions
|
|
@ -14,9 +14,9 @@ def get_metadata(stream, extract_cover=True):
|
|||
mi = MetaInformation(_('Unknown'), [_('Unknown')])
|
||||
stream.seek(0)
|
||||
|
||||
mdata = ''
|
||||
mdata = u''
|
||||
for x in range(0, 4):
|
||||
line = stream.readline()
|
||||
line = stream.readline().decode('utf-8')
|
||||
if line == '':
|
||||
break
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue