]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fixed a bug = meta_charset is True if HTTP charset is not guessed charset.
authorOleg Broytman <phd@phdru.name>
Tue, 18 Dec 2007 05:42:21 +0000 (05:42 +0000)
committerOleg Broytman <phd@phdru.name>
Tue, 18 Dec 2007 05:42:21 +0000 (05:42 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@111 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

Robots/parse_html_beautifulsoup.py

index c8e8f5db54af91c96a439584d09ade66b094de46..8c51d0500b6e78d19475f1b25e6c29c250b3c8c9 100644 (file)
@@ -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 \