Skip to content

Commit 9206ec6

Browse files
author
Nicolas Maurice
committed
fix python2.7 compatibility
1 parent a830eb3 commit 9206ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_sqlalchemy/tests/test_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class Meta:
131131
def __init_subclass_with_meta__(cls, custom_option=None, **options):
132132
_meta = CustomOptions(cls)
133133
_meta.custom_option = custom_option
134-
super().__init_subclass_with_meta__(_meta=_meta, **options)
134+
super(SQLAlchemyObjectTypeWithCustomOptions, cls).__init_subclass_with_meta__(_meta=_meta, **options)
135135

136136

137137
class ReporterWithCustomOptions(SQLAlchemyObjectTypeWithCustomOptions):

0 commit comments

Comments
 (0)