From 8e99ac15d90ea2675bb66d0377f50178ea3cd4e1 Mon Sep 17 00:00:00 2001 From: Edward Powell Date: Mon, 4 Mar 2013 12:16:40 -0500 Subject: [PATCH] [clock] Prevent error message when unknown timezone is given. --- clock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/clock.py b/clock.py index 26e47046db..302eb880f8 100644 --- a/clock.py +++ b/clock.py @@ -42,6 +42,7 @@ def f_time(willie, trigger): else: willie.say("I'm sorry, I don't know about the %s timezone or" " user." % tz) + return #We don't have a timzeone. Is there one set? If not, just use UTC elif willie.db: if trigger.nick in willie.db.preferences: