Have to refer to timer.kwargs
to get kwargs (in.py)
This commit is contained in:
parent
25096c651a
commit
d5bb3c5405
1 changed files with 2 additions and 1 deletions
|
@ -66,7 +66,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
raise utils.EventError("You do not have that many reminders")
|
raise utils.EventError("You do not have that many reminders")
|
||||||
|
|
||||||
timer = found[actual_index]
|
timer = found[actual_index]
|
||||||
event["stdout"].write("Reminder %d: %s" % (index, timer["message"]))
|
event["stdout"].write("Reminder %d: %s" % (index,
|
||||||
|
timer.kwargs["message"]))
|
||||||
else:
|
else:
|
||||||
event["stdout"].write("%s: you have %d reminders" % (
|
event["stdout"].write("%s: you have %d reminders" % (
|
||||||
event["user"].nickname, len(found)))
|
event["user"].nickname, len(found)))
|
||||||
|
|
Loading…
Reference in a new issue