Skip to content
Snippets Groups Projects
Commit fd7cfcfa authored by tuhe's avatar tuhe
Browse files

fixed semester path

parent c2e05a9e
Branches
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ with open("README.md", "r", encoding="utf-8") as fh: ...@@ -11,7 +11,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
# beamer-slider # beamer-slider
setuptools.setup( setuptools.setup(
name="coursebox", name="coursebox",
version="0.1.6", version="0.1.7",
author="Tue Herlau", author="Tue Herlau",
author_email="tuhe@dtu.dk", author_email="tuhe@dtu.dk",
description="A course management system currently used at DTU", description="A course management system currently used at DTU",
......
...@@ -23,13 +23,13 @@ def get_paths(): ...@@ -23,13 +23,13 @@ def get_paths():
root_02450private = root_02450private.replace("\\", "/") root_02450private = root_02450private.replace("\\", "/")
if not os.path.isdir(root_02450private): if not os.path.isdir(root_02450private):
root_02450private = root_02450public+'/pythontools/imlbox' root_02450private = f'{root_02450public}/{num}private'
warn('pythontools/imlbox/core/info_paths.py: 02450private repo not found') warn('Private repository not found at the expected location.')
warn('Using mock info from resources folder at:') warn('Using mock info from resources folder at:')
warn(root_02450private) warn(root_02450private)
# Tue: always overwrite semester path. # Tue: always overwrite semester path.
semester_path = root_02450private +"/resources/mock_semesters/" + semester_id() # semester_path = root_02450private +"/resources/mock_semesters/" + semester_id()
else: # else:
semester_path = root_02450private + "/semesters/" + semester_id() semester_path = root_02450private + "/semesters/" + semester_id()
if not os.path.isdir(semester_path): if not os.path.isdir(semester_path):
......
...@@ -9,7 +9,7 @@ def is_win(): ...@@ -9,7 +9,7 @@ def is_win():
return platform.uname()[0].startswith("Windows") return platform.uname()[0].startswith("Windows")
def is_compute(): def is_compute():f
return platform.uname()[1] == "linuxterm1" return platform.uname()[1] == "linuxterm1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment