X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/0fd2ed230ea6d53adb5e627731672c996485167b..6c0f71f581d5b8d9a519a6645f571f54b38afca8:/librarian/text.py diff --git a/librarian/text.py b/librarian/text.py index bcb031d..f5aafc1 100644 --- a/librarian/text.py +++ b/librarian/text.py @@ -55,7 +55,8 @@ def transform(input_file, output_file, parse_dublincore=True, **options): else: source = '' - contributors = ', '.join(person.readable() for person in sorted(set(parsed_dc.technical_editors + parsed_dc.editors))) + contributors = ', '.join(person.readable() for person in + sorted(set(p for p in (parsed_dc.technical_editors + parsed_dc.editors) if p))) if contributors: contributors = "\n\nOpracowanie redakcyjne i przypisy: %s" % contributors else: