mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 03:53:51 +02:00
IGN:...
This commit is contained in:
parent
5d800d0d19
commit
cc368f186f
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ class PageTree(LRFObject):
|
|||
tag_map.update(LRFObject.tag_map)
|
||||
|
||||
def __iter__(self):
|
||||
for id in self._contents:
|
||||
for id in getattr(self, '_contents', []):
|
||||
yield self._document.objects[id]
|
||||
|
||||
class StyleObject(object):
|
||||
|
|
|
|||
Loading…
Reference in a new issue