Commit a8dd9ca9 by Ned Batchelder Committed by David Baumgold

Use the proper 'off' default for COMP_THEME_DIR.

parent 6ebf2515
...@@ -452,7 +452,7 @@ COURSES_ROOT = ENV_ROOT / "data" ...@@ -452,7 +452,7 @@ COURSES_ROOT = ENV_ROOT / "data"
DATA_DIR = COURSES_ROOT DATA_DIR = COURSES_ROOT
# comprehensive theming system # comprehensive theming system
COMP_THEME_DIR = None COMP_THEME_DIR = ""
# TODO: Remove the rest of the sys.path modification here and in cms/envs/common.py # TODO: Remove the rest of the sys.path modification here and in cms/envs/common.py
sys.path.append(REPO_ROOT) sys.path.append(REPO_ROOT)
......
...@@ -45,7 +45,7 @@ def configure_paths(): ...@@ -45,7 +45,7 @@ def configure_paths():
css_dir.mkdir_p() css_dir.mkdir_p()
SASS_DIRS.append(sass_dir) SASS_DIRS.append(sass_dir)
if edxapp_env.env_tokens.get("COMP_THEME_DIR", None): if edxapp_env.env_tokens.get("COMP_THEME_DIR", ""):
theme_dir = path(edxapp_env.env_tokens["COMP_THEME_DIR"]) theme_dir = path(edxapp_env.env_tokens["COMP_THEME_DIR"])
lms_sass = theme_dir / "lms" / "static" / "sass" lms_sass = theme_dir / "lms" / "static" / "sass"
lms_css = theme_dir / "lms" / "static" / "css" lms_css = theme_dir / "lms" / "static" / "css"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment