From 33c634db52c188f2d531dc896079f0370c40583d Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 4 Aug 2004 13:10:41 +0000 Subject: [PATCH] Made the omitted keywords empty strings instead of None. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@34 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- bkmk_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bkmk_parser.py b/bkmk_parser.py index be39a32..dfe7ce2 100755 --- a/bkmk_parser.py +++ b/bkmk_parser.py @@ -141,7 +141,7 @@ class BkmkParser(HTMLParser): keyword = value debug("Bookmark points to: `%s'" % href) - bookmark = Bookmark(href, add_date, last_visit, last_modified, keyword) + bookmark = Bookmark(href, add_date, last_visit, last_modified, keyword or '') self.current_object = bookmark self.current_folder.append(bookmark) self.urls += 1 -- 2.39.5