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