Signed-off-by: 26751 <2675174581@qq.com>

This commit is contained in:
26751
2023-04-01 16:09:07 +08:00
parent b6f7f3b73f
commit da03911610
6 changed files with 67 additions and 13 deletions

View File

@@ -54,7 +54,7 @@ def process_command(session_name: str, text_message: str, mgr, config,
try:
reply = cmdmgr.execute(context)
except cmdmgr.CommandPrivilegeError as e:
reply = [format(e)]
reply = ["{}".format(e)]
return reply
except Exception as e: