From b3cae8ff058fbcd47f14fa3077ab1c3eac1954a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Thu, 16 Sep 2021 15:42:14 +0200 Subject: [PATCH] add python script file to add a new lecture --- scripts/new-lecture.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/new-lecture.py diff --git a/scripts/new-lecture.py b/scripts/new-lecture.py new file mode 100755 index 0000000..d696364 --- /dev/null +++ b/scripts/new-lecture.py @@ -0,0 +1,5 @@ +from courses import Courses + +script = Courses().current.script +new_lecture = script.new_lecture() +new_lecture.edit()