mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-15 17:25:16 +01:00
Fix #456
This commit is contained in:
parent
1401167eef
commit
d44fed3ef2
1 changed files with 5 additions and 0 deletions
|
|
@ -718,6 +718,11 @@ def initialize(self):
|
|||
if pos > 0:
|
||||
self.add_text(self.stream[stream.tell():pos])
|
||||
stream.seek(pos)
|
||||
elif pos == -2: # No tags in this stream
|
||||
self.add_text(self.stream)
|
||||
stream.seek(0, 2)
|
||||
print repr(self.stream)
|
||||
break
|
||||
|
||||
tag = Tag(stream)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue