X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1ceb9c4f943943f72da281d4fdb7473d70dcdff9..51ea493dd4c46246c80ed3190b43ebfc0d75d67c:/src/depot/publishers/woblink.py?ds=sidebyside diff --git a/src/depot/publishers/woblink.py b/src/depot/publishers/woblink.py index 64eca06e..3e1c78c8 100644 --- a/src/depot/publishers/woblink.py +++ b/src/depot/publishers/woblink.py @@ -187,6 +187,7 @@ class Woblink(BasePublisher): (self.ROLE_TRANSLATOR, meta.translators, False) ]: for person_literal in items: + if person_literal is None: continue if person_literal.lang != 'pl': if errors is not None: if obligatory: