From 6c046904bb9bbd3d7a8d0820ee971c0dc2a761ae Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Wed, 6 Feb 2013 13:53:02 +0100 Subject: [PATCH] fix activities not being shown --- librarian/pyhtml.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/librarian/pyhtml.py b/librarian/pyhtml.py index f358178..5538b7f 100644 --- a/librarian/pyhtml.py +++ b/librarian/pyhtml.py @@ -78,10 +78,10 @@ class EduModule(Xmill): """ % locals() - handle_opis = ifoption(activity=False)(tag('div', 'description')) - handle_wskazowki = ifoption(activity=False)(tag('div', ('hints', 'teacher'))) + handle_opis = ifoption(activity=True)(tag('div', 'description')) + handle_wskazowki = ifoption(activity=True)(tag('div', ('hints', 'teacher'))) - @ifoption(activity=False) + @ifoption(activity=True) @tagged('div', 'materials') def handle_pomoce(self, _): return "Pomoce: ", "" -- 2.20.1