X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1ceb9c4f943943f72da281d4fdb7473d70dcdff9..2dd9e6498b5e0bd5c0bd882db02be9768c34c019:/src/depot/publishers/woblink.py 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: