This commit is contained in:
luojian 2025-10-10 23:43:49 +08:00
parent b43efa55d4
commit 5b41d2f219
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ if __name__ == '__main__':
print(f"输入的配置文件不存在 {config_path}")
sys.exit(0)
context = Context.from_json(open(config_path, "r").read())
context = Context.from_json(open(config_path, "r", encoding="UTF-8").read())
if SystemUtils.is_windows():
context.project_original_path = context.project_original_path.replace("/", os.sep)