From 873bef6eee6779bef3d44722b2966b182982683d Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 8 Aug 2010 19:46:59 +0000 Subject: [PATCH] Fixed a bug. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@242 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/parse_html_beautifulsoup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robots/parse_html_beautifulsoup.py b/Robots/parse_html_beautifulsoup.py index fa5139f..6ab5f3e 100644 --- a/Robots/parse_html_beautifulsoup.py +++ b/Robots/parse_html_beautifulsoup.py @@ -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: -- 2.39.5