mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
parent
5d800d0d19
commit
cc368f186f
@ -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…
x
Reference in New Issue
Block a user