Pull from driver-dev

This commit is contained in:
Kovid Goyal 2009-06-25 17:36:37 -07:00
commit dead3be4a5

View File

@ -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: