]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fixed a bug.
authorOleg Broytman <phd@phdru.name>
Sun, 8 Aug 2010 19:46:59 +0000 (19:46 +0000)
committerOleg Broytman <phd@phdru.name>
Sun, 8 Aug 2010 19:46:59 +0000 (19:46 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@242 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

Robots/parse_html_beautifulsoup.py

index fa5139f9e210be3dfb5d658f918689b329c0a220..6ab5f3ee70385e2d74e97618ad77ec23b24ecbc2 100644 (file)
@@ -105,7 +105,7 @@ def parse_html(filename, charset=None, log=None):
          if meta_content:
              __charset = meta_content.lower().split('charset=')[1].split(';')[0]
          else:
-             meta_charset = False
+             __charset = False
       except IndexError: # No charset in the META Content-Type
          meta_charset = False
       else: