X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/f921a036ff55ff3a43ad2c93c8d8eb808fd54724..8be494f3ddda9f45ae3e454ec549e06f0eba9380:/librarian/pyhtml.py?ds=sidebyside diff --git a/librarian/pyhtml.py b/librarian/pyhtml.py index 6aeada9..64ac47f 100644 --- a/librarian/pyhtml.py +++ b/librarian/pyhtml.py @@ -196,8 +196,9 @@ class EduModule(Xmill): fmt_links = [] for f in formats[1:]: fmt_links.append(u'%s' % (make_url(f), f.upper())) + more_links = u' (%s)' % u', '.join(fmt_links) if fmt_links else u'' - return u"" % def_href, u' (%s)' % u' '.join(fmt_links) + return u"" % def_href, u'%s' % more_links class Exercise(EduModule): @@ -398,7 +399,7 @@ class Przyporzadkuj(Exercise): if self.options['subject']: self.piece_counter += 1 if self.options['handles']: - return '