From ffe48741e333baac89c63d3e5944020baf16acff Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sat, 13 Apr 2013 22:20:57 -0400 Subject: [PATCH] DOC: thanks @kwirk for spotting the typos in exception message --- server/transmitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/transmitter.py b/server/transmitter.py index dc121f93..b54fbb93 100644 --- a/server/transmitter.py +++ b/server/transmitter.py @@ -123,7 +123,7 @@ class Transmitter: elif command[2] == "off": self.__server.setIdleJail(name, False) else: - raise Exception("Invalid idle option, must be 'yes' or 'no'") + raise Exception("Invalid idle option, must be 'on' or 'off'") return self.__server.getIdleJail(name) # Filter elif command[1] == "addignoreip":