]> git.phdru.name Git - bookmarks_db.git/commitdiff
Made the omitted keywords empty strings instead of None.
authorOleg Broytman <phd@phdru.name>
Wed, 4 Aug 2004 13:10:41 +0000 (13:10 +0000)
committerOleg Broytman <phd@phdru.name>
Wed, 4 Aug 2004 13:10:41 +0000 (13:10 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@34 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

bkmk_parser.py

index be39a322bb803032daa46e2d9c740985508b1d71..dfe7ce2f463ef783079dd996b739075dce6ae073 100755 (executable)
@@ -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