diff --git a/README.md b/README.md index 152935b..41a0daa 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ RcGcDb is a backend for handling webhooks to which recent changes of MediaWiki w ### Dependencies ### * **Python 3.6>** -* requests 2.18.4> * beautifulsoup 4.6.0> * aiohttp 3.6.2> * lxml 4.2.1> diff --git a/requirements.txt b/requirements.txt index c92d56c..945fadf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ beautifulsoup4 >= 4.6.0; python_version >= '3.6' -requests >= 2.18.4 aiohttp >= 3.6.2 lxml >= 4.2.1 \ No newline at end of file diff --git a/src/bot.py b/src/bot.py index 2980318..0602cb6 100644 --- a/src/bot.py +++ b/src/bot.py @@ -111,10 +111,10 @@ class RcQueue: all_wikis[db_wiki["wiki"]] = Wiki() all_wikis[db_wiki["wiki"]].rc_active = db_wiki["rcid"] try: + self.to_remove.remove(db_wiki["wiki"]) current_domain = self[domain] if not db_wiki["ROWID"] < current_domain["last_rowid"]: current_domain["query"].append(QueuedWiki(db_wiki["wiki"], 20)) - self.to_remove.remove(db_wiki["wiki"]) except KeyError: await self.start_group(domain, db_wiki) logger.info("A new domain group has been added since last time, adding it to the domain_list and starting a task...")