From e8f436c1314b60467a86999dcf15a709fb1df709 Mon Sep 17 00:00:00 2001 From: 3093FengMing <83573615+3093FengMing@users.noreply.github.com> Date: Tue, 20 Feb 2024 12:32:30 +0800 Subject: [PATCH] 1.3fix --- WorldTranslationExtractor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/WorldTranslationExtractor.py b/WorldTranslationExtractor.py index b4f5631..df1faa6 100644 --- a/WorldTranslationExtractor.py +++ b/WorldTranslationExtractor.py @@ -586,6 +586,7 @@ def main(): cfg_lang = cfg_settings["lang"] except Exception as e: print("在打开config.json时发生一个错误: /An error occurred while opening the file config.json: ", e) + exit(1) if len(sys.argv) < 2: print(f"用法: python {sys.argv[0]} <存档>/Usage: python {sys.argv[0]} ")