From e575d61c2be1fcba6373f009e0e964324450c0fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler=20=28via=20gitlab=20runner=29?= Date: Wed, 27 Oct 2021 19:36:40 +0200 Subject: [PATCH] correctly update lectures in full file on creation of new lecture --- scripts/notes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/notes.py b/scripts/notes.py index d43e181..8efb420 100644 --- a/scripts/notes.py +++ b/scripts/notes.py @@ -48,6 +48,7 @@ class Notes: self.update_lectures_in_master([1]) else: self.update_lectures_in_master([lec.number - 1, lec.number]) + self._lectures = None # This causes the lectures to be re-computed self.update_lectures_in_full(self.lectures.parse_range_string('all')) return lec