]> git.phdru.name Git - bookmarks_db.git/blobdiff - Robots/parse_html_beautifulsoup.py
Fixed a bug.
[bookmarks_db.git] / 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: