X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Robots%2Fparse_html_beautifulsoup.py;h=8c51d0500b6e78d19475f1b25e6c29c250b3c8c9;hb=fd49fd89d9ad5570a0f98d2ca63178e81d999a4b;hp=c8e8f5db54af91c96a439584d09ade66b094de46;hpb=5c1c16d3e1a5fdf4ea1ecc6c31f5e4c6a4240bed;p=bookmarks_db.git diff --git a/Robots/parse_html_beautifulsoup.py b/Robots/parse_html_beautifulsoup.py index c8e8f5d..8c51d05 100644 --- a/Robots/parse_html_beautifulsoup.py +++ b/Robots/parse_html_beautifulsoup.py @@ -49,7 +49,7 @@ def parse_html(filename, charset=None): else: icon = None - return BSoupParser(_charset, _charset == charset, title, refresh, icon) + return BSoupParser(_charset, _charset != charset, title, refresh, icon) def _find_refresh(Tag): return (Tag.name == "meta") and \