Commit 8ad9bf4f by Juanan Pereira

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

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