From fcb3de8ee3a7580ff9887b909aff02d7d88f700c Mon Sep 17 00:00:00 2001 From: Jay Z Date: Tue, 7 Aug 2018 23:11:02 -0400 Subject: [PATCH] Fix chrome bookmarks import on `sync_transaction_version` --- scripts/importer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/importer.py b/scripts/importer.py index eb808a615..fd3e4ca0b 100755 --- a/scripts/importer.py +++ b/scripts/importer.py @@ -333,6 +333,8 @@ def import_chrome(profile, bookmark_types, output_format): def bm_tree_walk(bm, template): """Recursive function to walk through bookmarks.""" + if not isinstance(bm, dict): + return assert 'type' in bm, bm if bm['type'] == 'url': if urllib.parse.urlparse(bm['url']).scheme != 'chrome':