Skip to content

Commit 4d905a4

Browse files
author
sierreis
committed
Fixed flake8 lint error
1 parent 5c191b9 commit 4d905a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphene_django/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ def __init_subclass_with_meta__(
7676
"The attribute registry in {} needs to be an instance of "
7777
'Registry, received "{}".'
7878
).format(cls.__name__, registry)
79-
79+
8080
if filter_fields and filterset_class:
8181
raise Exception("Can't set both filter_fields and filterset_class")
82-
82+
8383
if not DJANGO_FILTER_INSTALLED and (filter_fields or filterset_class):
8484
raise Exception((
8585
"Can only set filter_fields or filterset_class if "

0 commit comments

Comments
 (0)