Skip to content

Commit 107c8f3

Browse files
修复输出异常
1 parent 8aac8dd commit 107c8f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sign_WenShuShu_selenium.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def sign_wss(user, password, token, msgs: list, show_user_string: str):
236236
sign_wss(user, password, push_token, msgs, show_user_string)
237237
except Exception as e:
238238
print("签到{user}账户时出现异常:{error_message}".format(user=show_user_string, error_message=traceback.format_exc()))
239-
print("已重试次数: {retry + 1}" + str(retry + 1))
239+
print(f"已重试次数: {retry + 1}")
240240
success = False
241241
finally:
242242
retry = retry + 1

0 commit comments

Comments
 (0)