mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Pull from driver-dev
This commit is contained in:
commit
dead3be4a5
@ -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…
x
Reference in New Issue
Block a user