]> git.phdru.name Git - bookmarks_db.git/commitdiff
Do not test annos' type
authorOleg Broytman <phd@phdru.name>
Fri, 1 Nov 2013 21:19:30 +0000 (01:19 +0400)
committerOleg Broytman <phd@phdru.name>
Fri, 1 Nov 2013 21:19:30 +0000 (01:19 +0400)
Firefox since version 25.0 changed format for comments.

Storage/bkmk_stjson.py

index fd55a39cd9e948e627a77171b1062796524bc1d9..04414f3276631fb0b0acb0bbeaada1ea2f4f0690 100644 (file)
@@ -213,8 +213,7 @@ def get_comment(annos):
         return ''
 
     for a in annos:
-        if a["name"] == "bookmarkProperties/description" and \
-                a["type"] == 3:
+        if a["name"] == "bookmarkProperties/description":
             return a["value"].encode('utf-8')
 
     return ''