mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-05 21:03:13 +03:00
Keep 'if' above same as before, fix lint issue
This commit is contained in:
parent
ad447d94a2
commit
0e1b6051ff
|
@ -101,7 +101,7 @@ class GraphQLView(View):
|
||||||
subscription_path=None,
|
subscription_path=None,
|
||||||
execution_context_class=None,
|
execution_context_class=None,
|
||||||
):
|
):
|
||||||
if schema is None:
|
if not schema:
|
||||||
schema = graphene_settings.SCHEMA
|
schema = graphene_settings.SCHEMA
|
||||||
self.schema = schema or self.schema
|
self.schema = schema or self.schema
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user