Skip to content

Commit

Permalink
empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Paurikova2 committed Nov 13, 2024
1 parent 41d09fa commit 493e318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pump/_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,8 @@ def value(self, res_type_id: int, res_id: int, text_for_field_id: int = None, lo
return None

vals = tp_values[res_id]
vals = [x for x in vals if self.exists_field(x['metadata_field_id'])]

vals = [x for x in vals if self.exists_field(x['metadata_field_id'])]
if len(vals) == 0:
return {}

Expand Down

0 comments on commit 493e318

Please sign in to comment.