X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1ceb9c4f943943f72da281d4fdb7473d70dcdff9..945eac1969985192b4f628ec68ac3468643cb9cd:/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: