From 6a2a1ba8ab5cad50af8dc0b1ec0387e4e4f41f4b Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Thu, 7 Jun 2018 15:54:35 +0200 Subject: [PATCH] verbose curriculum levels in model --- librarian/pypdf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/librarian/pypdf.py b/librarian/pypdf.py index 904b9b3..256bc34 100644 --- a/librarian/pypdf.py +++ b/librarian/pypdf.py @@ -135,8 +135,7 @@ class EduModule(Xmill): newline = '\n' if 'currset' in curr_elements: for (course, level), types in curr_elements['currset'].iteritems(): - label = u'klasa' if new else u'poziom edukacyjny' - lines = [u'%s, %s %s' % (course, level, label)] + lines = [u'%s, %s' % (course, level)] for type, currs in types.iteritems(): lines.append(type) lines += [curr.title for curr in currs] -- 2.20.1