浏览代码

fix

tags/v0.1^2
Ben Kurtovic 13 年前
父节点
当前提交
c970f01bd6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      irc/watcher_logic.py

+ 2
- 2
irc/watcher_logic.py 查看文件

@@ -57,13 +57,13 @@ def process(rc):
chans.add("#wikipedia-en-afc")
elif rc.flags == "delete" and r_delete.match(comment):
p = r_deleted_page.findall(rc.comment)[0][0]
p = r_deleted_page.findall(rc.comment)[0]
tasks.start_task("afc_statistics", action="process_delete", page=p)
tasks.start_task("afc_copyvios", action="process_delete", page=p)
chans.add("#wikipedia-en-afc")
elif rc.flags == "restore" and r_restore.match(comment):
p = r_restored_page.findall(rc.comment)[0][0]
p = r_restored_page.findall(rc.comment)[0]
tasks.start_task("afc_statistics", action="process_restore", page=p)
tasks.start_task("afc_copyvios", action="process_restore", page=p)
chans.add("#wikipedia-en-afc")


正在加载...
取消
保存