From a45f606aee538b1e293c55a15a9e77e3cbe4be2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 17 May 2023 07:51:25 +0200 Subject: [PATCH] WIP: - added else block for any unknown type --- fetch_blocks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fetch_blocks.py b/fetch_blocks.py index b5cb55d..5ded601 100644 --- a/fetch_blocks.py +++ b/fetch_blocks.py @@ -318,6 +318,8 @@ for blocker, software in c.fetchall(): fba.conn.commit() except Exception as e: print("error:", e, blocker) + else: + print("WARNING: Unknown software:", software) if config["bot_enabled"] and len(blockdict) > 0: send_bot_post(blocker, blockdict) -- 2.39.5