From 94407ee13250275634a89e58a5ff38a98c08261b Mon Sep 17 00:00:00 2001 From: Edward Powell Date: Wed, 26 Jun 2013 00:00:04 -0400 Subject: [PATCH] [clock] Fix error when given user does not have timezone set Was this not 3e24cb089e5b452ba827a27752e001ff8542a5a6? Because it sure seems like it... --- clock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/clock.py b/clock.py index b2f6dd0e5b..4827e7d8a4 100644 --- a/clock.py +++ b/clock.py @@ -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)