diff --git a/app/models/packages.py b/app/models/packages.py index fbb0c9be..96ef5833 100644 --- a/app/models/packages.py +++ b/app/models/packages.py @@ -1011,7 +1011,7 @@ class Tag(db.Model): # Translations are automated on dynamic data using `extract_translations.py` return { "title": gettext(self.title), - "description": gettext(self.description), + "description": gettext(self.description) if self.description else "", } def as_dict(self):