From 17a2a1035249e405223d3fda4cbacc9846ac9be3 Mon Sep 17 00:00:00 2001 From: Womsxd <45663319+Womsxd@users.noreply.github.com> Date: Tue, 8 Jun 2021 20:43:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- honkai3rd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/honkai3rd.py b/honkai3rd.py index bac7a33..1e60c64 100644 --- a/honkai3rd.py +++ b/honkai3rd.py @@ -78,7 +78,8 @@ class honkai3rd: if data["retcode"] == 0: today_Item = self.Get_today_item(data["data"]["list"]) tools.log.info(f"舰长{i[0]}签到成功~\r\n今天获得的奖励是{tools.Get_item(today_Item)}") - elif (data["retcode"] == -5003): + elif data["retcode"] == -5003: + #崩坏3应为奖励列表和签到信息在一起了,加上上面已经可以进行了一次判断,所以这里旧不重复再次执行判断来获取内容了 tools.log.info(f"舰长{i[0]}今天已经签到过了~") else: tools.log.warn("账号签到失败!")