DOC: thanks @kwirk for spotting the typos in exception message

pull/172/merge
Yaroslav Halchenko 2013-04-13 22:20:57 -04:00
parent 301460f451
commit ffe48741e3
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class Transmitter:
elif command[2] == "off": elif command[2] == "off":
self.__server.setIdleJail(name, False) self.__server.setIdleJail(name, False)
else: 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) return self.__server.getIdleJail(name)
# Filter # Filter
elif command[1] == "addignoreip": elif command[1] == "addignoreip":