]> git.mxchange.org Git - fba.git/commitdiff
WIP:
authorRoland Häder <roland@mxchange.org>
Wed, 17 May 2023 05:51:25 +0000 (07:51 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 17 May 2023 05:51:25 +0000 (07:51 +0200)
- added else block for any unknown type

fetch_blocks.py

index b5cb55d7ed806be959201d67e74fcc361c4c2620..5ded601ad7242fbeb4bd414eeaf59319514607fc 100644 (file)
@@ -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)