From: Oleg Broytman Date: Wed, 4 Aug 2004 13:10:41 +0000 (+0000) Subject: Made the omitted keywords empty strings instead of None. X-Git-Tag: v4.5.3~342 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=33c634db52c188f2d531dc896079f0370c40583d;p=bookmarks_db.git 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 --- 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