From 85cd2d64fb49e3cfb6e1f42bf7672e7ff4958d51 Mon Sep 17 00:00:00 2001 From: Edward Powell Date: Wed, 26 Jun 2013 00:04:55 -0400 Subject: [PATCH] [clock] Actually show the name of the person who's tz isn't known --- clock.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clock.py b/clock.py index 4827e7d8a4..4147e8edc7 100644 --- a/clock.py +++ b/clock.py @@ -33,7 +33,8 @@ def f_time(bot, trigger): if bot.db and tz in bot.db.preferences: tz = bot.db.preferences.get(tz, 'tz') if not tz: - bot.say("I'm sorry, I don't know %s's timezone" % tz) + bot.say("I'm sorry, I don't know %s's timezone" + % trigger.group(2)) return else: bot.say("I'm sorry, I don't know about the %s timezone or"