mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-20 12:12:58 +02:00
...
This commit is contained in:
parent
73f4803605
commit
7112fffba3
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ def read_font_fule(self, basedir, css):
|
|||
import cssutils
|
||||
cssutils.log.setLevel(logging.ERROR)
|
||||
try:
|
||||
sheet = cssutils.parseString(css)
|
||||
sheet = cssutils.parseString(css, validate=False)
|
||||
except:
|
||||
return
|
||||
for rule in sheet.cssRules:
|
||||
|
|
|
|||
Loading…
Reference in a new issue