From ff7bf8d52beff0156f82cd4447768ebef4898b41 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 2 Nov 2013 01:19:30 +0400 Subject: [PATCH] Do not test annos' type Firefox since version 25.0 changed format for comments. --- Storage/bkmk_stjson.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 '' -- 2.39.5