Skip to content

Commit

Permalink
Validators bugfix py<8
Browse files Browse the repository at this point in the history
  • Loading branch information
GemmaTuron committed Aug 16, 2023
1 parent 57e2078 commit 007e3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ersilia/hub/content/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ...db.hubdata.interfaces import AirtableInterface
import validators

if sys.version_info.minor<=7:
if sys.version_info.minor<8:
from validators import ValidationFailure
else:
from validators import ValidationError as ValidationFailure
Expand Down

0 comments on commit 007e3c9

Please sign in to comment.