Skip to content

Commit

Permalink
Time: Fix redundant (and un-user-friendly) error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed Aug 18, 2011
1 parent 22eb147 commit cebf67f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions plugins/Time/plugin.py
Expand Up @@ -175,6 +175,7 @@ def tztime(self, irc, msg, args, timezone):
timezone = pytz.timezone(timezone)
except pytz.UnknownTimeZoneError:
irc.error(_('Unknown timezone'))
return
irc.reply(str(datetime.now(timezone)))
tztime = wrap(tztime, ['text'])

Expand Down
2 changes: 1 addition & 1 deletion src/version.py
@@ -1,3 +1,3 @@
"""stick the various versioning attributes in here, so we only have to change
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)'

0 comments on commit cebf67f

Please sign in to comment.