X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/fbb8f42993d02108b506028dc85466a0541be359..820b9cfd35f190aed2803b13734977c83bd3a098:/src/depot/publishers/base.py?ds=sidebyside 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'