Skip to content

Commit

Permalink
Updated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedele Mantuano committed Mar 19, 2024
1 parent 09f3ba4 commit 61812bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mailparser/mailparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ def _make_mail(self, complete=True):

for i in keys:
log.debug("Getting header or part {!r}".format(i))
if value := getattr(self, i):
value = getattr(self, i)
if value:
mail[i] = value

# add defects
Expand Down

0 comments on commit 61812bf

Please sign in to comment.