From a17ba05176dfbb465c515f7ae90687110672965b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B4=9B?= Date: Sun, 1 Aug 2021 10:28:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AF=B4=E6=98=8E=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ck_hlx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ck_hlx.py b/ck_hlx.py index 1628fc0..4feabe8 100644 --- a/ck_hlx.py +++ b/ck_hlx.py @@ -100,7 +100,7 @@ def start(): getENv() with open("/ql/config/check.json", "r", encoding="utf-8") as f: datas = json.loads(f.read()) - _check_item = datas.get("HLX", [])[0] + _check_item = datas.get("HLX", []) res = hlx(user=_check_item.get('user'),passwd=_check_item.get('password')) print(res) send('葫芦侠', res)