|
|
|
@ -51,7 +51,11 @@ class AtmoClientHandler(socketserver.StreamRequestHandler):
|
|
|
|
|
self.send("Bye")
|
|
|
|
|
else:
|
|
|
|
|
raise CommandNotFound(cmd)
|
|
|
|
|
except (CommandNotFound, WrongArgumentCount) as e:
|
|
|
|
|
except CommandNotFound as e:
|
|
|
|
|
self.send("Error: {}".format(e))
|
|
|
|
|
self.send("The following commands are available: ")
|
|
|
|
|
self.send(" reload")
|
|
|
|
|
except WrongArgumentCount as e:
|
|
|
|
|
self.send("Error: {}".format(e))
|
|
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
|