]> git.phdru.name Git - bookmarks_db.git/blobdiff - bkmk_parser.py
Made the omitted keywords empty strings instead of None.
[bookmarks_db.git] / 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