1
0
mirror of https://github.com/godotengine/godot synced 2024-07-03 08:35:04 +00:00

SCons: Fix profile type. It is a string

This commit is contained in:
Mateo Kuruk Miccino 2021-02-25 19:45:36 -03:00
parent 94f78f276b
commit 42f6d7a401

View File

@ -95,7 +95,7 @@ env_base.SConsignFile(".sconsign{0}.dblite".format(pickle.HIGHEST_PROTOCOL))
customs = ["custom.py"]
profile = methods.get_cmdline_bool("profile", False)
profile = ARGUMENTS.get("profile", "")
if profile:
if os.path.isfile(profile):
customs.append(profile)