mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
a5549a0fc4
commit
25501e8574
@ -412,8 +412,8 @@ class Styles(object):
|
|||||||
if s.style_id:
|
if s.style_id:
|
||||||
self.id_map[s.style_id] = s
|
self.id_map[s.style_id] = s
|
||||||
|
|
||||||
# Nuke based_on, link attributes that refer to non-existing/incompatible
|
# Nuke based_on, link attributes that refer to missing/incompatible
|
||||||
# parents
|
# styles
|
||||||
for s in self:
|
for s in self:
|
||||||
bo = s.based_on
|
bo = s.based_on
|
||||||
if bo is not None:
|
if bo is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user