From 4c5d56bd578947d40908041d401377aabed344d9 Mon Sep 17 00:00:00 2001
From: kirbylife <kirbylife@protonmail.com>
Date: Tue, 4 May 2021 00:58:33 -0500
Subject: [PATCH] add exception so that webapps with generic icon do not give
 errors

---
 sailify_webapps.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sailify_webapps.py b/sailify_webapps.py
index 2b00fbb..b00a83f 100644
--- a/sailify_webapps.py
+++ b/sailify_webapps.py
@@ -104,6 +104,11 @@ def main():
                 continue
             break
         app = apps[index]
+
+        if app["Icon"] == "icon-launcher-bookmark":
+            print("this webapp is using the generic icon of a bookmark and not a favicon so it is not possible to modify")
+            continue
+
         while True:
             pattern = input("Enter the pattern (0 = round, 1 = peak):\n>>> ")
             if len(pattern) != 4: