From 107c8f3aac2d2cde3d12a505caceba4df0d3f899 Mon Sep 17 00:00:00 2001 From: JOJO <41473909@qq.com> Date: Fri, 26 Jan 2024 16:05:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BE=93=E5=87=BA=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sign_WenShuShu_selenium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sign_WenShuShu_selenium.py b/Sign_WenShuShu_selenium.py index 59d6dbf..eaa17e7 100644 --- a/Sign_WenShuShu_selenium.py +++ b/Sign_WenShuShu_selenium.py @@ -236,7 +236,7 @@ def sign_wss(user, password, token, msgs: list, show_user_string: str): sign_wss(user, password, push_token, msgs, show_user_string) except Exception as e: print("签到{user}账户时出现异常:{error_message}".format(user=show_user_string, error_message=traceback.format_exc())) - print("已重试次数: {retry + 1}" + str(retry + 1)) + print(f"已重试次数: {retry + 1}") success = False finally: retry = retry + 1