Skip to content

Commit

Permalink
Fix: invite student index position
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmusen214 committed Jan 10, 2025
1 parent 6042daa commit 13391b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/AllTask/InCafe/InviteStudent.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def on_run(self) -> None:
# 打开确认弹窗
# 默认邀请第一个学生
click_pos = (787, 225)
# 如果邀请第二个学生
if self.stuind == 1:
click_pos = (785, 303)
# 如果邀请第n个学生
for i in range(self.stuind):
click_pos[1] += 78
# 邀请
self.run_until(
lambda: click(click_pos),
Expand Down

0 comments on commit 13391b0

Please sign in to comment.