浏览代码

Seven days to five days, per Steven's request.

tags/v0.1^2
Ben Kurtovic 12 年前
父节点
当前提交
2803a8a268
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      earwigbot/tasks/drn_clerkbot.py

+ 2
- 2
earwigbot/tasks/drn_clerkbot.py 查看文件

@@ -365,10 +365,10 @@ class DRNClerkBot(Task):

A message will be set to the "very old notifiee", which is generally
[[User talk:Szhang (WMF)]], if the case has been open for more than
seven days.
five days.
"""
age = (datetime.utcnow() - case.file_time).total_seconds()
if age > 60 * 60 * 24 * 7:
if age > 60 * 60 * 24 * 5:
if not case.very_old_notified:
template = "{{subst:" + self.tl_notify_stale + "|"
template += case.title.replace("|", "|") + "}}"


正在加载...
取消
保存