Fix running tests with Python 3.9

pull/1906/head
grossmj 4 years ago
parent acc5c7ebfa
commit 7837081eba

@ -83,7 +83,7 @@ class Query:
if response.content is not None:
if response.headers.get("content-type") == "application/json":
try:
response.json = response.json(encoding="utf-8")
response.json = response.json()
except ValueError:
response.json = None
# else:

Loading…
Cancel
Save