mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Time: Fix redundant (and un-user-friendly) error message.
This commit is contained in:
parent
22eb147116
commit
cebf67fe89
@ -175,6 +175,7 @@ class Time(callbacks.Plugin):
|
|||||||
timezone = pytz.timezone(timezone)
|
timezone = pytz.timezone(timezone)
|
||||||
except pytz.UnknownTimeZoneError:
|
except pytz.UnknownTimeZoneError:
|
||||||
irc.error(_('Unknown timezone'))
|
irc.error(_('Unknown timezone'))
|
||||||
|
return
|
||||||
irc.reply(str(datetime.now(timezone)))
|
irc.reply(str(datetime.now(timezone)))
|
||||||
tztime = wrap(tztime, ['text'])
|
tztime = wrap(tztime, ['text'])
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
"""stick the various versioning attributes in here, so we only have to change
|
"""stick the various versioning attributes in here, so we only have to change
|
||||||
them once."""
|
them once."""
|
||||||
version = '0.83.4.1+limnoria (2011-08-16T13:22:23+0200)'
|
version = '0.83.4.1+limnoria (2011-08-18T11:07:25+0200)'
|
||||||
|
Loading…
Reference in New Issue
Block a user