X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/ab001bc37c0f8ee0bb92b8762f5151b5b93f6ccc..aeed223c57f453d068216f86941b7de963190536:/librarian/pyhtml.py diff --git a/librarian/pyhtml.py b/librarian/pyhtml.py index bb835ae..d3314cc 100644 --- a/librarian/pyhtml.py +++ b/librarian/pyhtml.py @@ -94,7 +94,8 @@ class EduModule(Xmill): 'uporzadkuj': Uporzadkuj, 'luki': Luki, 'zastap': Zastap, - 'przyporzadkuj': Przyporzadkuj + 'przyporzadkuj': Przyporzadkuj, + 'prawdafalsz': PrawdaFalsz } typ = element.attrib['typ'] @@ -186,8 +187,9 @@ class Wybor(Excercise): self.piece_counter += 1 no = self.piece_counter eid = "q%(qc)d_%(no)d" % locals() + aname = element.attrib.get('nazwa', None) return u""" -