Skip to content

Commit

Permalink
parser fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterSurda committed Jun 2, 2024
1 parent f356287 commit d61d9e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions taiga/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ def parse(cls, requester, entry):
return entry
for key_to_parse, cls_to_parse in cls.parser.items():
if key_to_parse in entry:
if entry[key_to_parse] is None:
continue
entry[key_to_parse] = cls_to_parse.parse(requester, entry[key_to_parse])
return cls(requester, **entry)

Expand Down

0 comments on commit d61d9e0

Please sign in to comment.