Skip to content

Commit 7e4c150

Browse files
committed
SCons: Fix up build with Python 3.10
It gives: > SyntaxError: f-string expression part cannot include a backslash Follow-up to godotengine#90214.
1 parent 4ff5731 commit 7e4c150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SConstruct

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ if selected_platform not in platform_list:
335335
elif selected_platform != "list":
336336
print(f'Invalid target platform "{selected_platform}".')
337337

338-
print(f"The following platforms are available:\n\t{'\n\t'.join(platform_list)}\n")
338+
print("The following platforms are available:\n\t{}\n".format("\n\t".join(platform_list)))
339339
print("Please run SCons again and select a valid platform: platform=<string>.")
340340
Exit(0 if selected_platform == "list" else 255)
341341

0 commit comments

Comments
 (0)