From 4c8bc9dc1f441cf9256ce3a933f51213a0c3c3ff Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 18 Dec 2007 18:42:18 +0000 Subject: [PATCH] Fixed a bug. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@119 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/parse_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robots/parse_html.py b/Robots/parse_html.py index 4117b5f..c5c9eb6 100755 --- a/Robots/parse_html.py +++ b/Robots/parse_html.py @@ -85,7 +85,7 @@ def parse_html(filename, charset=None, log=None): title = recode_entities(title, current_charset) title = title.replace('\r', '').replace('\n', ' ').strip() - if self.log: self.log(" final title : %s" % title) + if log: log(" final title : %s" % title) parser.title = title return parser -- 2.39.5