Skip to content

Commit 70024ed

Browse files
committed
Fixes for python 2.7 & PyPy
1 parent 70cedc0 commit 70024ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene/contrib/django/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def clean(self, value):
1818

1919
try:
2020
gid = from_global_id(value)
21-
except (UnicodeDecodeError, TypeError, binascii.Error):
21+
except (TypeError, ValueError, UnicodeDecodeError, binascii.Error):
2222
raise ValidationError(self.error_messages['invalid'])
2323

2424
try:

0 commit comments

Comments
 (0)