Commit d92e3733 by Juanan Pereira

Change fix following pullrequestreview-619682

parent 8ad9bf4f
......@@ -345,7 +345,7 @@ class Courses(SysadminDashboardView):
# Try the data dir, then try to find it in the git import dir
if not gdir.exists():
git_repo_dir = getattr(settings, 'GIT_REPO_DIR', git_import.DEFAULT_GIT_REPO_DIR)
gdir = path(git_repo_dir + "/" + cdir)
gdir = path(git_repo_dir) / cdir
if not gdir.exists():
return info
......
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