From 27a14c249a06015b6c75888a01cef7b1c12bb494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B9=81=E8=8A=B1=E5=90=9B1=E5=8F=B7?= <75367310+geng-Max@users.noreply.github.com> Date: Tue, 8 Apr 2025 23:13:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20bug=20(#454)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: geng_MAX --- scripts/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.py b/scripts/release.py index 314063b8..99954e15 100755 --- a/scripts/release.py +++ b/scripts/release.py @@ -51,7 +51,7 @@ def release_current(): def get_all_board_types(): board_configs = {} - with open("main/CMakeLists.txt") as f: + with open("main/CMakeLists.txt", encoding='utf-8') as f: lines = f.readlines() for i, line in enumerate(lines): # 查找 if(CONFIG_BOARD_TYPE_*) 行