From c3ba8817e94e280c7fa0740f6c1d197bba62310d Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Thu, 12 Jul 2012 16:06:05 -0400 Subject: [PATCH] Correctly add course_dirs to static files --- lms/envs/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/envs/common.py b/lms/envs/common.py index dc748f8482..4e81afe870 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -184,7 +184,7 @@ if os.path.isdir(DATA_DIR): # should no longer be added to STATICFILES (course_dir, DATA_DIR / course_dir) for course_dir in os.listdir(DATA_DIR) - if os.path.isdir(course_dir) + if os.path.isdir(DATA_DIR / course_dir) ] # Locale/Internationalization