Skip to content

Commit

Permalink
[clock] Fix error when given user does not have timezone set
Browse files Browse the repository at this point in the history
Was this not 3e24cb0? Because it sure seems like it...
  • Loading branch information
embolalia committed Jun 26, 2013
1 parent 35c70a1 commit 94407ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def f_time(bot, trigger):
tz = bot.db.preferences.get(tz, 'tz')
if not tz:
bot.say("I'm sorry, I don't know %s's timezone" % tz)
return
else:
bot.say("I'm sorry, I don't know about the %s timezone or"
" user." % tz)
Expand Down

0 comments on commit 94407ee

Please sign in to comment.