mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 13:54:57 +01:00
Fix #2018 ([ERROR] CSSValue: Missing token for production Choice)
This commit is contained in:
parent
1ee09b1930
commit
0f1414679e
1 changed files with 1 additions and 1 deletions
|
|
@ -859,7 +859,7 @@ def get_id(chapter, counter, prefix='calibre_css_'):
|
|||
except ValueError:
|
||||
setting = ''
|
||||
face = font.attrib.pop('face', None)
|
||||
if face is not None:
|
||||
if face:
|
||||
faces = []
|
||||
for face in face.split(','):
|
||||
face = face.strip()
|
||||
|
|
|
|||
Loading…
Reference in a new issue