Thread
:
Using Polish remove_unused_css method
View Single Post
06-10-2015, 09:15 AM
#
2
kovidgoyal
creator of calibre
Posts: 45,423
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just use print as the report function to print to stdout. Or use
log = []
remove_unused_css(..., report=log.append)
then log will be a list of strings.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS