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

Added sections

parent 060570db
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ with open("README.md", "r", encoding="utf-8") as fh: ...@@ -15,7 +15,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.18.8", version="0.1.18.10",
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",
......
Metadata-Version: 2.1 Metadata-Version: 2.1
Name: coursebox Name: coursebox
Version: 0.1.18.8 Version: 0.1.18.9
Summary: A course management system currently used at DTU Summary: A course management system currently used at DTU
Home-page: https://lab.compute.dtu.dk/tuhe/coursebox Home-page: https://lab.compute.dtu.dk/tuhe/coursebox
Author: Tue Herlau Author: Tue Herlau
......
...@@ -158,7 +158,9 @@ def _setup_lecture_info(lecture, mode, dosvg, make_quizzes): ...@@ -158,7 +158,9 @@ def _setup_lecture_info(lecture, mode, dosvg, make_quizzes):
lecture['feedback_groups'] = ag.get(w, []) lecture['feedback_groups'] = ag.get(w, [])
info.update({'week': w}) info.update({'week': w})
info['lecture'] = lecture info['lecture'] = lecture
info['lecture']['teacher'] = [t for t in info['teachers'] if t['initials'] == lecture['teacher_initials']].pop()
info['lecture']['teacher'] = [t for t in info['teachers'] if t['initials'] == lecture['teacher_initials'].split("/")[0].strip() ].pop()
lecture_texdir = paths['lectures'] + '/Lecture_%s/Latex' % w lecture_texdir = paths['lectures'] + '/Lecture_%s/Latex' % w
lecture_texfile = lecture_texdir + "/Lecture_%i.tex" % w lecture_texfile = lecture_texdir + "/Lecture_%i.tex" % w
fix_shared(paths, output_dir=lecture_texdir, dosvg=dosvg) fix_shared(paths, output_dir=lecture_texdir, dosvg=dosvg)
......
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