From c85763bfa983bc1269f9f0baa34b4e6f0a713711 Mon Sep 17 00:00:00 2001 From: Frisk Date: Thu, 29 Oct 2020 18:01:01 +0100 Subject: [PATCH] Quick fix for critical issue --- src/bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bot.py b/src/bot.py index c9324cc..020cba6 100644 --- a/src/bot.py +++ b/src/bot.py @@ -129,6 +129,8 @@ class RcQueue: full = [] for db_wiki in fetch_all.fetchall(): domain = get_domain(db_wiki["wiki"]) + if domain in full: + continue try: if db_wiki["wiki"] not in all_wikis: raise AssertionError