aboutsummaryrefslogtreecommitdiff
path: root/mbbmlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'mbbmlib.py')
-rw-r--r--mbbmlib.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/mbbmlib.py b/mbbmlib.py
index 3dd8db7..8b8d585 100644
--- a/mbbmlib.py
+++ b/mbbmlib.py
@@ -332,7 +332,12 @@ class Bookmark:
bid, btype, parent, fk, position, title, keyword_id, folder_type, dateAdded, lastModified, guid, syncStatus, syncChangeCounter = row
db_bookmarks.append(db_bookmark(bid, btype, parent, fk, position, title, keyword_id, folder_type, dateAdded, lastModified, guid, syncStatus, syncChangeCounter))
for row in raw_places:
- pid, url, title, rev_host, visit_count, hidden, typed, favicon_id, frecency, last_visit_date, guid, foreign_count, url_hash, description, preview_image_url, origin_id = row
+ if (len(row)) == 15:
+ # LibreWolf, observed 2021-12-02 has no column for favicon_id.
+ pid, url, title, rev_host, visit_count, hidden, typed, frecency, last_visit_date, guid, foreign_count, url_hash, description, preview_image_url, origin_id = row
+ favicon_id = 0
+ else:
+ pid, url, title, rev_host, visit_count, hidden, typed, favicon_id, frecency, last_visit_date, guid, foreign_count, url_hash, description, preview_image_url, origin_id = row
db_places.append(db_place(pid, url, title, rev_host, visit_count, hidden, typed, favicon_id, frecency, last_visit_date, guid, foreign_count, url_hash, description, preview_image_url, origin_id))
elif browser == "palemoon":
bgstack15