Skip to content

Commit

Permalink
Merge branch 'main' of github.com:RedTurtle/iosanita.contenttypes int…
Browse files Browse the repository at this point in the history
…o main
  • Loading branch information
daniele-andreotti committed Sep 11, 2024
2 parents b4f23eb + 43ee008 commit 1ef5f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iosanita/contenttypes/adapters/schema_tweaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __call__(self):

def set_description_required(self):
"""fix Documento fields"""
if os.environ["DISABLE_DESCRIPTION_VALIDATION"]:
if os.environ.get("DISABLE_DESCRIPTION_VALIDATION", False):
return
if self.schema.getName() == "IBasic":
self.schema["description"].required = True
Expand Down

0 comments on commit 1ef5f00

Please sign in to comment.