Ver código fonte

I stink.

tags/v0.1^2
Ben Kurtovic 12 anos atrás
pai
commit
174845a7ed
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      earwigbot/commands/afc_submissions.py

+ 1
- 1
earwigbot/commands/afc_submissions.py Ver arquivo

@@ -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))

Carregando…
Cancelar
Salvar