aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mbbmlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbmlib.py b/mbbmlib.py
index 8af4e56..3dd8db7 100644
--- a/mbbmlib.py
+++ b/mbbmlib.py
@@ -323,7 +323,7 @@ class Bookmark:
raw_bookmarks= conn.execute("SELECT id,type,fk,parent,position,title,keyword_id,folder_type,dateAdded,lastModified,guid FROM moz_bookmarks")
raw_places = conn.execute("SELECT id,url,title,rev_host,visit_count,hidden,typed,favicon_id,frecency,last_visit_date,guid,foreign_count,url_hash FROM moz_places")
- if fetch_icons:
+ if fetch_icons and browser != "palemoon":
with sqlite3.connect(icons_file) as conn:
raw_icons = conn.execute("SELECT * FROM moz_icons")
@@ -343,7 +343,7 @@ class Bookmark:
pid, url, title, rev_host, visit_count, hidden, typed, favicon_id, frecency, last_visit_date, guid, foreign_count, url_hash = 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, "", "", 0))
- if fetch_icons:
+ if fetch_icons and (browser != "palemoon"):
for row in raw_icons:
iid, icon_url, fixed_icon_url, width, root, color, expire_ms, data = row
db_icons.append(db_icon(iid, icon_url, fixed_icon_url, width, root, color, expire_ms, data))
bgstack15