From 9cc1d56e39512603672c51f263f0b6080ec1c3c2 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 6 Jan 2011 19:11:54 +0000 Subject: [PATCH] Fixed logging. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@324 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- parse_html/bkmk_parse_html.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parse_html/bkmk_parse_html.py b/parse_html/bkmk_parse_html.py index 42cb5ce..162c29c 100644 --- a/parse_html/bkmk_parse_html.py +++ b/parse_html/bkmk_parse_html.py @@ -119,7 +119,7 @@ def parse_html(filename, charset=None, log=None): pass else: if parser: - if log: log(" Parser %s: ok" % p.__module__) + #if log: log(" Parser %s: ok" % p.__module__) #_parsers.append(parser) break else: @@ -133,7 +133,7 @@ def parse_html(filename, charset=None, log=None): return None #parser = _parsers[0] - if log: log(" Using %s" % parser.__module__) + if log: log(" Using %s" % p.__module__) converted_title = title = parser.title if title and (not parser.charset): -- 2.39.5