diff --git a/ersilia/hub/content/card.py b/ersilia/hub/content/card.py index 019b9c46a..cac085aa2 100644 --- a/ersilia/hub/content/card.py +++ b/ersilia/hub/content/card.py @@ -12,7 +12,7 @@ if sys.version_info.minor<=7: from validators import ValidationFailure else: - from validators import ValidationError + from validators import ValidationError as ValidationFailure from ...utils.exceptions_utils.card_exceptions import ( SlugBaseInformationError,