From 174845a7eda2d41b760d0db495821c0cd18f8f19 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Thu, 5 Jul 2012 04:53:24 -0400 Subject: [PATCH] I stink. --- earwigbot/commands/afc_submissions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/commands/afc_submissions.py b/earwigbot/commands/afc_submissions.py index ec08527..6fc8139 100644 --- a/earwigbot/commands/afc_submissions.py +++ b/earwigbot/commands/afc_submissions.py @@ -56,6 +56,6 @@ class AFCSubmissions(Command): site = self.bot.wiki.get_site() category = site.get_category("Pending AfC submissions") members = category.get_members(use_sql=True, limit=number) - urls = [member.url for member in members and member.title not in self.ignore_list] + urls = [member.url for member in members if member.title not in self.ignore_list] pages = ", ".join(urls) self.reply(data, "{0} pending AfC subs: {1}".format(number, pages))