mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Fix running tests with Python 3.9
This commit is contained in:
1 parent
acc5c7ebfa
commit
7837081eba
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user