X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/03fc465e6ac5335bb636ae57e8fc2218760f8647..c34afb18f77c163ee18ab181061f66f28a90ea22:/src/depot/publishers/base.py diff --git a/src/depot/publishers/base.py b/src/depot/publishers/base.py index 8fff399c..cdc1ff31 100644 --- a/src/depot/publishers/base.py +++ b/src/depot/publishers/base.py @@ -25,7 +25,7 @@ class BasePublisher: if wlbook.meta.audience in ('L', 'SP1', 'SP2', 'SP3', 'SP4'): description += '

{} to lektura szkolna.'.format(wlbook.meta.title) - if wlbook.tree.find('//pe') is not None: + if wlbook.tree.find('.//pe') is not None: description += '
Ebook {title} zawiera przypisy opracowane specjalnie dla uczennic i uczniów {school}.'.format( title=wlbook.meta.title, school='szkoły podstawowej' if wlbook.meta.audience.startswith('SP') else 'liceum i technikum'