Commit 3a75ba4c authored by joliu's avatar joliu

更新一些说明

parent f3b9ec4d
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* 3. 接收请求并执行 * * 3. 接收请求并执行 *
* * * *
* author: joliu<joliu@s-an.org> * * author: joliu<joliu@s-an.org> *
* date: 2018-3 * * date: 2018-3-21 *
************************************************** **************************************************
''' '''
...@@ -59,7 +59,7 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler): ...@@ -59,7 +59,7 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler):
if not command in controlMethodList: if not command in controlMethodList:
print("error: illegal command") print("error: illegal command")
errorFlag = True errorFlag = True
(status, output) = (-1, "illegal controller command") (status, output) = (-1, "illegal controller command: %s" % command)
else: else:
# 匹配控制指令做出相应操作 # 匹配控制指令做出相应操作
(status, output) = executeCommand(command, message[2:]) (status, output) = executeCommand(command, message[2:])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment