From 6e573f4381ef6898a656afbe51c2c0d4e44fcf97 Mon Sep 17 00:00:00 2001 From: Dimitri Molenaars Date: Thu, 6 Mar 2014 23:09:13 +0100 Subject: [PATCH] [Clock]Change 'oops' to something... useful-ish. --- willie/modules/clock.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/willie/modules/clock.py b/willie/modules/clock.py index 977384488e..e0d457f41a 100644 --- a/willie/modules/clock.py +++ b/willie/modules/clock.py @@ -41,7 +41,7 @@ def f_time(bot, trigger): if trigger.group(2): zone = get_timezone(bot.db, bot.config, trigger.group(2), None, None) if not zone: - bot.say('oops') + bot.say('Could not find timezone %s.' % trigger.group(2)) return else: zone = get_timezone(bot.db, bot.config, None, trigger.nick, @@ -173,3 +173,4 @@ def update_channel_format(bot, trigger): "unless a user has their own format set. (If the timezone" " is wrong, you might try the settz and channeltz " "commands)" % timef) +