瀏覽代碼

I stink.

tags/v0.1^2
Ben Kurtovic 12 年之前
父節點
當前提交
174845a7ed
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      earwigbot/commands/afc_submissions.py

+ 1
- 1
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))

Loading…
取消
儲存