Browse Source

Make expired reminders last for a full day.

tags/v0.3
Ben Kurtovic 9 years ago
parent
commit
be6c272d18
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/commands/remind.py

+ 1
- 1
earwigbot/commands/remind.py View File

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


def _finalize(self): def _finalize(self):


Loading…
Cancel
Save