fix warning message for python-html2text missing
This commit is contained in:
parent
04d33d3f6a
commit
baac5bac46
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ try:
|
||||||
h2t.SKIP_INTERNAL_LINKS = True
|
h2t.SKIP_INTERNAL_LINKS = True
|
||||||
html2text = h2t.html2text
|
html2text = h2t.html2text
|
||||||
except ImportError:
|
except ImportError:
|
||||||
warning('python-html is not present. HTML pages will not be converted into text.')
|
warning('python-html2text is not present. HTML pages will not be converted into text.')
|
||||||
def html2text(s):
|
def html2text(s):
|
||||||
return s
|
return s
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue