From: Oleg Broytman Date: Fri, 1 Nov 2013 21:19:30 +0000 (+0400) Subject: Do not test annos' type X-Git-Tag: v4.5.4~3 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=ff7bf8d52beff0156f82cd4447768ebef4898b41;p=bookmarks_db.git Do not test annos' type Firefox since version 25.0 changed format for comments. --- diff --git a/Storage/bkmk_stjson.py b/Storage/bkmk_stjson.py index fd55a39..04414f3 100644 --- a/Storage/bkmk_stjson.py +++ b/Storage/bkmk_stjson.py @@ -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 ''