Correctly add course_dirs to static files

This commit is contained in:
Calen Pennington
2012-07-12 16:06:05 -04:00
parent 305cd30da9
commit c3ba8817e9

View File

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