浏览代码

SCons: Fix profile type. It is a string

Mateo Kuruk Miccino 4 年之前
父节点
当前提交
42f6d7a401
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SConstruct

+ 1 - 1
SConstruct

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