diff options
Diffstat (limited to 'ishtar_common/wizards.py')
| -rw-r--r-- | ishtar_common/wizards.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index 552db0e8d..740a1c18d 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -497,7 +497,9 @@ class Wizard(IshtarWizard):                          continue                      if key in self.translated_keys:                          value = _(value) -                    if type(value) == bool: +                    if hasattr(self, f"get_formated_data_for_{key}"): +                        value = getattr(self, f"get_formated_data_for_{key}")(value) +                    elif type(value) == bool:                          if value:                              value = _("Yes")                          else: | 
