Browse Source

SCons: Fix profile type. It is a string

(cherry picked from commit 42f6d7a4016709ba86da5b2674a95401981a771a)
Mateo Kuruk Miccino 4 years ago
parent
commit
bdf335d369
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SConstruct

+ 1 - 1
SConstruct

@@ -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)