From: Oleg Broytman Date: Wed, 10 Oct 2007 14:32:49 +0000 (+0000) Subject: Initialize parser.icon in case there are no tags. X-Git-Tag: v4.5.3~298 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=72481e9aa50cf5841a98460b22a5118354676546;p=bookmarks_db.git 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 --- 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()