mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2018 ([ERROR] CSSValue: Missing token for production Choice)
This commit is contained in:
parent
1ee09b1930
commit
0f1414679e
@ -859,7 +859,7 @@ class Processor(Parser):
|
||||
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…
x
Reference in New Issue
Block a user