From 43fe93caf99d223acd1defc31afdfda6b596551b Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Fri, 19 May 2017 14:17:17 +0200 Subject: [PATCH 1/1] fix isbn for txt --- librarian/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.20.1