From: Jan Szejko Date: Fri, 19 May 2017 12:17:17 +0000 (+0200) Subject: fix isbn for txt X-Git-Tag: 1.7~49 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/43fe93caf99d223acd1defc31afdfda6b596551b?ds=inline;hp=7dee009f056f7d802ed487b9b77698d54309f4da fix isbn for txt --- diff --git a/librarian/text.py b/librarian/text.py index 3cd7313..2577a20 100644 --- a/librarian/text.py +++ b/librarian/text.py @@ -85,7 +85,7 @@ def transform(wldoc, flags=None, **options): if funders: funders = u"\n\nPublikację wsparli i wsparły: %s." % funders publisher = '\n\nWydawca: ' + ', '.join(parsed_dc.publisher) - isbn = getattr(parsed_dc, 'isbn_html', None) + isbn = getattr(parsed_dc, 'isbn_txt', None) if isbn: isbn = '\n\n' + isbn else: