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