Avoid to use an unsupported '/' operand between two unicode strings

This commit is contained in:
Juanan Pereira
2016-09-15 23:15:41 +02:00
parent e6b5cc9e41
commit 8ad9bf4ff5

View File

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