Procházet zdrojové kódy

Make expired reminders last for a full day.

tags/v0.3
Ben Kurtovic před 8 roky
rodič
revize
be6c272d18
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      earwigbot/commands/remind.py

+ 1
- 1
earwigbot/commands/remind.py Zobrazit soubor

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


Načítá se…
Zrušit
Uložit