Merge branch 'frontier' into production

这个提交包含在:
binary-husky
2023-11-30 22:24:54 +08:00
当前提交 89707a1c58
共有 5 个文件被更改,包括 196 次插入3 次删除

查看文件

@@ -563,7 +563,8 @@ def promote_file_to_downloadzone(file, rename_file=None, chatbot=None):
user_name = get_user(chatbot)
else:
user_name = default_user_name
if not os.path.exists(file):
raise FileNotFoundError(f'文件{file}不存在')
user_path = get_log_folder(user_name, plugin_name=None)
if file_already_in_downloadzone(file, user_path):
new_path = file