From 493e318ddf3b922501ce3a48cd039b028d7dbed4 Mon Sep 17 00:00:00 2001 From: Paurikova2 Date: Wed, 13 Nov 2024 11:58:10 +0100 Subject: [PATCH] empty lines --- src/pump/_metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pump/_metadata.py b/src/pump/_metadata.py index 4a3ff08..fd92234 100644 --- a/src/pump/_metadata.py +++ b/src/pump/_metadata.py @@ -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 {}