ソースを参照

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("|", "|") + "}}"


読み込み中…
キャンセル
保存