Skip to content

Commit 2b2473f

Browse files
Mongoengine Enum support > python 3.4
1 parent b6db227 commit 2b2473f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_mongo/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def dynamic_type():
429429
return graphene.Dynamic(dynamic_type)
430430

431431

432-
if sys.version_info[0] >= 3:
432+
if sys.version_info[0] > 3.4:
433433
@convert_mongoengine_field.register(mongoengine.EnumField)
434434
def convert_field_to_enum(field, registry=None):
435435
return graphene.Field(graphene.Enum.from_enum(field._enum_cls),

0 commit comments

Comments
 (0)