mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
parent
522e75cf6d
commit
64114c0847
@ -167,7 +167,8 @@ class LrsParser(object):
|
||||
settings = self.attrs_to_dict(tag, map[tag.name][1]+['objid', 'objlabel'])
|
||||
for a in ('pagestyle', 'blockstyle', 'textstyle'):
|
||||
label = tag.get(a, False)
|
||||
if label and label in self._style_labels:
|
||||
if label and \
|
||||
(label in self._style_labels or label in self.parsed_objects):
|
||||
_obj = self.parsed_objects[label] if \
|
||||
self.parsed_objects.has_key(label) else \
|
||||
self._style_labels[label]
|
||||
|
Loading…
x
Reference in New Issue
Block a user