From 3d3952fa0960e0eaece482eb4e16a0601e637d09 Mon Sep 17 00:00:00 2001 From: James Scott Date: Thu, 13 Dec 2012 20:16:17 -0500 Subject: [PATCH] it helps to have code that actually will raise the exception you are catching. --- plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin.py b/plugin.py index 0b2ca2b..19e8973 100644 --- a/plugin.py +++ b/plugin.py @@ -144,6 +144,7 @@ class Cah(callbacks.Plugin): else: numrounds = args[0] try: + game = self.games[channel] irc.reply("A game is running, please wait till it is finished to start a new one.") except: channelGame = {}