lower cssutils logging level

This commit is contained in:
MaZderMind 2014-04-09 23:07:30 +02:00
parent 38a8e43300
commit 435768ea3a

View file

@ -12,6 +12,7 @@ import urllib2
#import xml.etree.ElementTree as etree #import xml.etree.ElementTree as etree
from lxml import etree from lxml import etree
import cssutils import cssutils
import logging
import textwrap import textwrap
import tempfile import tempfile
import threading import threading
@ -195,6 +196,7 @@ def pauseFrames():
} }
cssutils.ser.prefs.lineSeparator = ' ' cssutils.ser.prefs.lineSeparator = ' '
cssutils.log.setLevel(logging.ERROR)
def render(infile, outfile, sequence, parameters={}, workdir='artwork'): def render(infile, outfile, sequence, parameters={}, workdir='artwork'):
# in debug mode we have no thread-worker which prints its progress # in debug mode we have no thread-worker which prints its progress