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

udpates

parent 94ec3ae5
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setuptools.setup(
name="coursebox",
version="0.1.20.1",
version="0.1.20.2",
author="Tue Herlau",
author_email="tuhe@dtu.dk",
description="A course management system currently used at DTU",
......
......@@ -92,6 +92,7 @@ def build_sphinx_documentation(cut_files=False, open_browser=True, build_and_cop
x[k]['files'] = files
# print(">>> k class is: ")
# print(info_paths.core_conf['projects_all'][k])
f = info_paths.core_conf['projects_all'][k]['class'].mfile()
with open(f.split("_grade.py")[0], 'r') as ff:
l = [l for l in ff.read().splitlines() if "(Report)" in l].pop().split("(")[0].split(" ")[-1]
......
......@@ -33,7 +33,11 @@ def setup_student_files(run_files=True,
# from coursebox.core.info import class_information
# info = class_information()
from coursebox.core.info import core_conf
PACKAGE = list(core_conf['projects_all'].values()).pop()['module_public'].split(".")[0]
try:
PACKAGE = list(core_conf['projects_all'].values()).pop()['module_public'].split(".")[0]
except Exception as e:
PACKAGE = core_conf['package']
if censor_files:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment