From: Oleg Broytman Date: Tue, 18 Dec 2007 18:42:18 +0000 (+0000) Subject: Fixed a bug. X-Git-Tag: v4.5.3~257 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=4c8bc9dc1f441cf9256ce3a933f51213a0c3c3ff;p=bookmarks_db.git Fixed a bug. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@119 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- 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