去除行尾空格

This commit is contained in:
zyckk4
2023-04-02 14:43:34 +08:00
parent aba9d945b5
commit 70386abadd
4 changed files with 11 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ def process_command(session_name: str, text_message: str, mgr, config,
params = text_message[1:].strip().split(' ')[1:]
# 把!~开头的转换成!cfg
# 把!~开头的转换成!cfg
if cmd.startswith('~'):
params = [cmd[1:]] + params
cmd = 'cfg'