Commit 792155ce authored by 张慧's avatar 张慧

修复报错

parent 04f2fe93
...@@ -74,7 +74,7 @@ class BaseRequest: ...@@ -74,7 +74,7 @@ class BaseRequest:
) )
print("0000000",r) print("0000000",r)
return r.json() # return r.json()
try: try:
content_type = r.headers.get("content-type").split(";")[0] content_type = r.headers.get("content-type").split(";")[0]
except: except:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment