From 990dcf80b0813a85865450c9ad038d3ed620ec08 Mon Sep 17 00:00:00 2001 From: brad90four <42116429+brad90four@users.noreply.github.com> Date: Mon, 30 Aug 2021 12:37:26 -0400 Subject: Correct article length check with future proofing Co-authored-by: wookie184 --- bot/exts/evergreen/realpython.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/exts/evergreen/realpython.py') diff --git a/bot/exts/evergreen/realpython.py b/bot/exts/evergreen/realpython.py index 6d148ad6..6ef750a9 100644 --- a/bot/exts/evergreen/realpython.py +++ b/bot/exts/evergreen/realpython.py @@ -56,7 +56,7 @@ class RealPython(commands.Cog): article_embed = Embed( title="Search results - Real Python", url=SEARCH_URL.format(user_search=quote_plus(user_search)), - description=f"Here are the top {max(5, len(articles))} results:", + description=f"Here are the top {len(articles)} results:", color=Colours.orange, ) -- cgit v1.2.3