Skip to content

Commit 28cccb4

Browse files
author
=
committed
add saces for linter
1 parent 6da95d7 commit 28cccb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphene_django/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ def can_display_graphiql(cls, request, data):
281281
def request_wants_html(cls, request):
282282
accepted = get_accepted_content_types(request)
283283
accepted_length = len(accepted)
284-
#the list will be ordered in preferred first - so we have to make
285-
#sure the most preferred gets the highest number
284+
# the list will be ordered in preferred first - so we have to make
285+
# sure the most preferred gets the highest number
286286
html_priority = accepted_length - accepted.index('text/html') if 'text/html' in accepted else 0
287287
json_priority = accepted_length - accepted.index('application/json') if 'application/json' in accepted else 0
288288

0 commit comments

Comments
 (0)