Skip to content
Snippets Groups Projects

Devel

Merged tuhe requested to merge devel into main
6 files
+ 24
5
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -14,11 +14,15 @@ def get_paths():
# num = cd[:cd.find("public")]
CDIR = core_conf['working_dir']
course_number = core_conf['course_number']
layout = core_conf.get('directory_layout', {})
if layout is None:
layout = {}
root_02450public = os.path.normpath(CDIR + "/../..")
root_02450private = os.path.normpath(root_02450public + "/../%sprivate"%num)
root_02450instructors = os.path.normpath(root_02450private + "/../%sinstructors"%num)
root_02450students = os.path.normpath(root_02450private + "/../%sstudents" % num)
root_02450private = os.path.normpath( layout.get('private', root_02450public + "/../%sprivate"%num ))
root_02450instructors = os.path.normpath( layout.get('instructors', root_02450private + "/../%sinstructors"%num))
root_02450students = os.path.normpath( layout.get('students', root_02450private + "/../%sstudents" % num) )
root_02450public = root_02450public.replace("\\", "/")
root_02450private = root_02450private.replace("\\", "/")
Loading