mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 14:40:51 +01:00
Forgot to convert the response of time parsing to a string before replying with it.
This commit is contained in:
parent
5ca79f0f49
commit
10e496eed0
@ -97,7 +97,7 @@ class Time(callbacks.Privmsg):
|
|||||||
now = int(time.time())
|
now = int(time.time())
|
||||||
new = parse(s)
|
new = parse(s)
|
||||||
if new != now:
|
if new != now:
|
||||||
irc.reply(new)
|
irc.reply(str(new))
|
||||||
else:
|
else:
|
||||||
irc.error('That\'s right now!')
|
irc.error('That\'s right now!')
|
||||||
at = wrap(at, ['text'])
|
at = wrap(at, ['text'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user