diff options
Diffstat (limited to 'bot/cogs/news.py')
| -rw-r--r-- | bot/cogs/news.py | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/cogs/news.py b/bot/cogs/news.py index c716f662b..fc79f2fdc 100644 --- a/bot/cogs/news.py +++ b/bot/cogs/news.py @@ -128,7 +128,9 @@ class News(Cog):              async with self.bot.http_session.get(RECENT_THREADS_TEMPLATE.format(name=maillist)) as resp:                  recents = BeautifulSoup(await resp.text(), features="lxml") -            # When response have <p>, this mean that no threads available +            # When a <p> element is present in the response then the mailing list +            # has not had any activity during the current month, so therefore it +            # can be ignored.              if recents.p:                  continue  |