瀏覽代碼

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


Loading…
取消
儲存