Fix stupid

This commit is contained in:
Frisk 2023-08-14 19:09:16 +02:00
parent 98fc6e2a8a
commit 9d6850ae07

View file

@ -49,7 +49,7 @@ class Discussions:
if (int(time.time()) - (wiki.statistics.last_checked_discussion or 0)) > settings.get("irc_overtime", 3600):
await self.run_discussion_scan(wiki)
else:
return # Recently scanned wikis will get at the end of the self.wikis, so we assume what is first hasn't been checked for a while
break # Recently scanned wikis will get at the end of the self.wikis, so we assume what is first hasn't been checked for a while
await asyncio.sleep(5.0)
def filter_and_sort(self) -> list[Wiki]: