Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fzls committed Jul 26, 2024
1 parent 1f15890 commit 78f86b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
7 changes: 4 additions & 3 deletions config_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2290,7 +2290,9 @@ def from_config(self, cfg: AccountConfig):
form_layout,
"需要满足这些条件",
QLabel(
"1. 在付费生效期间\n" "2. 当前QQ是特邀会员或者心悦会员\n" "3. 前两周心悦战场荣耀镖局完成运镖任务并领取奖励 6 次\n"
"1. 在付费生效期间\n"
"2. 当前QQ是特邀会员或者心悦会员\n"
"3. 前两周心悦战场荣耀镖局完成运镖任务并领取奖励 6 次\n"
),
)

Expand Down Expand Up @@ -2933,8 +2935,7 @@ class FunctionSwitchesConfigUi(QWidget):
("colg其他活动", "get_colg_other_act"),
("WeGame活动", "get_dnf_wegame"),
],
"QQ空间pskey": [
],
"QQ空间pskey": [],
}

# 已过期的活动,方便快速加回去
Expand Down
1 change: 0 additions & 1 deletion djc_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@
format_now,
format_time,
get_first_exists_dict_value,
get_last_week_monday_datetime,
get_logger_func,
get_meaningful_call_point_for_log,
get_month,
Expand Down
4 changes: 1 addition & 3 deletions qq_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -1875,9 +1875,7 @@ def _try_auto_resolve_captcha(self):
+ "新版滑动验证码限制最大滑动次数为3次,之前的暴力尝试策略不再可用,请先手动操作。待日后有空时,会改用图像识别的方式来进行处理"
)

logger.info(
f"{self.name} 等待手动处理验证码中,最大等待时长为{self.cfg.login.login_finished_timeout}"
)
logger.info(f"{self.name} 等待手动处理验证码中,最大等待时长为{self.cfg.login.login_finished_timeout}")
WebDriverWait(self.driver, self.cfg.login.login_finished_timeout).until(
expected_conditions.invisibility_of_element_located((By.ID, iframe_id))
)
Expand Down

0 comments on commit 78f86b9

Please sign in to comment.