Przeglądaj źródła

Make expired reminders last for a full day.

tags/v0.3
Ben Kurtovic 8 lat temu
rodzic
commit
be6c272d18
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      earwigbot/commands/remind.py

+ 1
- 1
earwigbot/commands/remind.py Wyświetl plik

@@ -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):


Ładowanie…
Anuluj
Zapisz