correctly update lectures in full file on creation of new lecture
This commit is contained in:
parent
8cf70e724d
commit
e575d61c2b
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ class Notes:
|
||||||
self.update_lectures_in_master([1])
|
self.update_lectures_in_master([1])
|
||||||
else:
|
else:
|
||||||
self.update_lectures_in_master([lec.number - 1, lec.number])
|
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'))
|
self.update_lectures_in_full(self.lectures.parse_range_string('all'))
|
||||||
return lec
|
return lec
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue