Skip to content

Commit

Permalink
修复输出异常
Browse files Browse the repository at this point in the history
  • Loading branch information
jiongjiongJOJO committed Jan 26, 2024
1 parent 8aac8dd commit 107c8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sign_WenShuShu_selenium.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 107c8f3

Please sign in to comment.