mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Sync to trunk.
This commit is contained in:
commit
024d47046e
@ -188,7 +188,7 @@ class PageTree(LRFObject):
|
|||||||
tag_map.update(LRFObject.tag_map)
|
tag_map.update(LRFObject.tag_map)
|
||||||
|
|
||||||
def __iter__(self):
|
def __iter__(self):
|
||||||
for id in self._contents:
|
for id in getattr(self, '_contents', []):
|
||||||
yield self._document.objects[id]
|
yield self._document.objects[id]
|
||||||
|
|
||||||
class StyleObject(object):
|
class StyleObject(object):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user