Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd589b25

Browse files
committed
fixes loading sdkconfig
1 parent7860850 commitd589b25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎builder/esp32.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,8 @@ def build_sdkconfig(*args):
12071207
ifnotos.path.exists(display_path):
12081208
continue
12091209

1210-
base_config.extend(read_file(display_path).split('\n'))
1210+
withopen(display_path,'r')asf:
1211+
base_config.extend(f.read().split('\n'))
12111212

12121213
withopen(SDKCONFIG_PATH,'w')asf:
12131214
f.write('\n'.join(base_config))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp