X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/b90a579e68c18d9fea2170fe38b61d44b8e1d4c3..8e08d50cdbe864bdb95f52bcadc7028fc2f9c816:/librarian/pypdf.py diff --git a/librarian/pypdf.py b/librarian/pypdf.py index 59b2cc4..9034753 100644 --- a/librarian/pypdf.py +++ b/librarian/pypdf.py @@ -174,7 +174,6 @@ class EduModule(Xmill): handle_naglowek_czesc = \ handle_naglowek_listy = \ handle_naglowek_osoba = \ - handle_naglowek_podrozdzial = \ handle_naglowek_scena = \ handle_nazwa_utworu = \ handle_nota = \ @@ -205,6 +204,9 @@ class EduModule(Xmill): return self.handle_texcommand(element) handle_naglowek_rozdzial.unmuter = True + def handle_naglowek_podrozdzial(self, element): + self.activity_counter = 0 + return self.handle_texcommand(element) def handle_uwaga(self, _e): return None