修复下拉插件和普通问答的bug

This commit is contained in:
w_xiaolizu
2023-05-15 13:34:49 +08:00
parent 7f64f2a00f
commit 7e07ccf040
5 changed files with 10 additions and 10 deletions

View File

@ -82,7 +82,6 @@ def ArgsGeneralWrapper(f):
chatbot_with_cookie.write_list(chatbot)
txt_passon = txt
if encrypt in models: txt_passon = func_box.encryption_str(txt)
if args == (): args = (ipaddr.client.port, )
if txt_passon == '' and txt_passon == ' ' and len(args) > 1:
msgs = f'### {args[1]} Warning 输入框为空\n' \
'tips: 使用基础功能时,请在输入区输入需要处理的文本内容'