diff --git a/eox_tagging/models.py b/eox_tagging/models.py index dc05102..695f478 100644 --- a/eox_tagging/models.py +++ b/eox_tagging/models.py @@ -266,8 +266,7 @@ def __get_model(self, attr, name): field_value = getattr(self, f"{attr}_type") if name: return field_value - else: - return getattr(self, attr) + return getattr(self, attr) def __get_field_choice(self, attr): """