修复空输入触发的BUG

This commit is contained in:
qingxu fu
2023-07-31 12:08:07 +08:00
parent 37afcc709b
commit 484f16e365
2 changed files with 9 additions and 8 deletions

View File

@ -113,6 +113,7 @@ def 多文件翻译(file_manifest, project_folder, llm_kwargs, plugin_kwargs, ch
def get_files_from_everything(txt, preference=''):
if txt == "": return False, None, None
success = True
if txt.startswith('http'):
import requests