From 42281521265f4041c80d63ae15738ea96be7eed4 Mon Sep 17 00:00:00 2001 From: Leon Date: Mon, 9 Aug 2021 23:49:56 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8Fix=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/py/EUserv_extend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/py/EUserv_extend.py b/Scripts/py/EUserv_extend.py index 545423b..c8dbe3e 100644 --- a/Scripts/py/EUserv_extend.py +++ b/Scripts/py/EUserv_extend.py @@ -68,7 +68,7 @@ def login(username, password) -> (str, requests.session): f = session.post(url, headers=headers, data=login_data) f.raise_for_status() - if f.text.find('Hello') == -1: + if f.text.find('Hello') == -1 and f.text.find('Confirm or change your customer data here') == -1: return '-1', session return sess_id, session