~sircmpwn/reminderbot

f21e122255aaa8fcc88563e6d85d1cd675987e48 — Drew DeVault 1 year, 4 months ago 6d4146d
Fix syntax error
1 files changed, 1 insertions(+), 1 deletions(-)

M reminderbot/bot.py
M reminderbot/bot.py => reminderbot/bot.py +1 -1
@@ 130,7 130,7 @@ async def on_want_reminder(msg, what=None, when=None, where=None):
async def snooze(*when, message=None):
    who = message.sender.name
    last_reminder_sent = sorted(
        [r for r in reminders if r.when <= now and r.who = who],
        [r for r in reminders if r.when <= now and r.who == who],
        key=lambda item: item.when,
        reverse=True
    )[0]