Fix chrome bookmarks import on sync_transaction_version
This commit is contained in:
parent
8dcc6bc360
commit
fcb3de8ee3
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user