]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fixed a bug.
authorOleg Broytman <phd@phdru.name>
Tue, 18 Dec 2007 18:42:18 +0000 (18:42 +0000)
committerOleg Broytman <phd@phdru.name>
Tue, 18 Dec 2007 18:42:18 +0000 (18:42 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@119 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

Robots/parse_html.py

index 4117b5fd2c00bd0256db024ddb3864be99362d4a..c5c9eb6831e0db333cf95cd25314dbc453a5e28a 100755 (executable)
@@ -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