Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalp committed Feb 19, 2024
1 parent b5314be commit 70662de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ariadne/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ def parse_query_string(environ: dict) -> Optional[dict]:
return None

try:
return {k: v for k, v in parse_qsl(query_string)}
return dict(parse_qsl(query_string))
except (TypeError, ValueError):
return None

Check warning on line 661 in ariadne/wsgi.py

View check run for this annotation

Codecov / codecov/patch

ariadne/wsgi.py#L660-L661

Added lines #L660 - L661 were not covered by tests

Expand Down

0 comments on commit 70662de

Please sign in to comment.