Skip to content

Commit

Permalink
Update mail.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pur1fying committed Feb 5, 2024
1 parent b6d26d2 commit 89c59bc
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions module/mail.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
import time

from core import color, image


def to_mail(self):
if self.server == 'CN' or self.server == 'JP':
possibles = {"main_page_home-feature": (1141, 43)}
image.detect(self, end='mail_menu', possibles=possibles, skip_first_screenshot=True)
elif self.server == 'Global':
click_pos = [[1141, 43]]
pd_los = ["main_page"]
end = ["mail"]
color.common_rgb_detect_method(self, click_pos, pd_los, end, True)
possibles = {"main_page_home-feature": (1141, 43)}
image.detect(self, end='mail_menu', possibles=possibles, skip_first_screenshot=True)



def implement(self):
Expand Down

0 comments on commit 89c59bc

Please sign in to comment.