瀏覽代碼

Make expired reminders last for a full day.

tags/v0.3
Ben Kurtovic 9 年之前
父節點
當前提交
be6c272d18
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      earwigbot/commands/remind.py

+ 1
- 1
earwigbot/commands/remind.py 查看文件

@@ -472,7 +472,7 @@ class _Reminder(object):
"""Activate the reminder for the user."""
self._cmdobj.reply(self._data, self.message)
self._cmdobj.unstore_reminder(self.id)
self.end = time.time() + 60
self.end = time.time() + (60 * 60 * 24)
self._expired = True

def _finalize(self):


Loading…
取消
儲存