From 72481e9aa50cf5841a98460b22a5118354676546 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 10 Oct 2007 14:32:49 +0000 Subject: [PATCH] Initialize parser.icon in case there are no tags. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@78 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/parse_html.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Robots/parse_html.py b/Robots/parse_html.py index 57ad6a0..d2ca656 100755 --- a/Robots/parse_html.py +++ b/Robots/parse_html.py @@ -33,6 +33,7 @@ class HTMLParser(_HTMLParser): self.meta_charset = 0 self.title = '' self.refresh = '' + self.icon = None def end_head(self): raise HTMLHeadDone() -- 2.39.5