浏览代码

Fix old reference to query.all_projects.

pull/24/head
Ben Kurtovic 10 年前
父节点
当前提交
f4ff4099be
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      copyvios/sites.py

+ 1
- 1
copyvios/sites.py 查看文件

@@ -12,7 +12,7 @@ __all__ = ["get_site", "update_sites"]
def get_site(query):
lang, project, name = query.lang, query.project, query.name
wiki = cache.bot.wiki
if project not in [proj[0] for proj in query.all_projects]:
if project not in [proj[0] for proj in cache.projects]:
return None
if project == "wikimedia" and name: # Special sites:
try:


正在加载...
取消
保存