Skip to content

Commit

Permalink
Remove error message when html5lib not available
Browse files Browse the repository at this point in the history
  • Loading branch information
thp authored and Mortal committed Aug 8, 2016
1 parent 6a9a47a commit 334eaff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gpodder/util.py
Expand Up @@ -727,8 +727,7 @@ def extract_hyperlinked_text_1(html):
try:
import html5lib
except ImportError:
return [(None, 'Could not import html5lib\n'),
(None, remove_html_tags(html))]
return [(None, remove_html_tags(html))]
document = html5lib.parseFragment(html)
return ExtractHyperlinkedText()(document)

Expand Down

0 comments on commit 334eaff

Please sign in to comment.