From 88aa53ebd697b7d4e596c56d02c013eb75cb82d2 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 7 Dec 2020 18:54:57 +0800 Subject: [PATCH] bugfix --- appPublic/http_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appPublic/http_client.py b/appPublic/http_client.py index 0ff5fbc..357e0fc 100644 --- a/appPublic/http_client.py +++ b/appPublic/http_client.py @@ -88,7 +88,7 @@ class Http_Client: if status is None: return data if status == 'OK': - return data['data'] + return data.get('data') return data except: return resp.text