bugfix
This commit is contained in:
parent
a5987bfd56
commit
88aa53ebd6
@ -88,7 +88,7 @@ class Http_Client:
|
|||||||
if status is None:
|
if status is None:
|
||||||
return data
|
return data
|
||||||
if status == 'OK':
|
if status == 'OK':
|
||||||
return data['data']
|
return data.get('data')
|
||||||
return data
|
return data
|
||||||
except:
|
except:
|
||||||
return resp.text
|
return resp.text
|
||||||
|
Loading…
Reference in New Issue
Block a user