remove unused code
This commit is contained in:
@@ -9,14 +9,23 @@ api_key = "489274f04d5c155f81370fccc3904e20"
|
||||
api_secret = "edac41f0e1726ba49808dfb12204ecd6"
|
||||
mailjet = Client(auth=(api_key, api_secret), version='v3.1')
|
||||
from_email = "no-reply@lpaconsulting.fr"
|
||||
# store = "Hermès Paris Faubourg"
|
||||
store = "Hermès Paris Sèvres"
|
||||
store = "Hermès Paris Faubourg"
|
||||
# store = "Hermès Paris George V"
|
||||
# dest_email = "0429xiaohan@gmail.com" #小萝卜
|
||||
# dest_email = "1340219934@qq.com" #小于
|
||||
# store = "Hermès Paris Sèvres"
|
||||
# dest_email = "928490803@qq.com"
|
||||
# dest_email = "1757344572@qq.com"
|
||||
# dest_email = "392417782@qq.com"
|
||||
# dest_email = "linghuili@hotmail.com"
|
||||
dest_email = "landdu@outlook.com"
|
||||
contact_name = "LI Jiaxi"
|
||||
# dest_email = "fanfan19810617@icloud.com"
|
||||
# dest_email = "fanchunying323@163.com"
|
||||
# dest_email = "lytlaure@gmail.com"
|
||||
# dest_email = "panleicim@gmail.com"
|
||||
# dest_email = "sunrose75015@gmail.com"
|
||||
dest_email = "1340219934@qq.com"
|
||||
# dest_email = "lytlaure@gmail.com"
|
||||
# dest_email = "m13805869912@163.com"
|
||||
# dest_email = "tangliang0411@gmail.com"
|
||||
contact_name = "DU Peijian"
|
||||
|
||||
f = open(config.ROOT_DIR + "/templates/confirmed_rdv.html", "r")
|
||||
email_body = f.read()
|
||||
|
||||
@@ -97,7 +97,7 @@ class CommandorPage:
|
||||
self.otp_value = None
|
||||
# device = None
|
||||
device_key = random.choice(params.DEVICES)
|
||||
device_key = random.sample(list(self.tls.playwright.devices), 1)[0]
|
||||
# device_key = random.sample(list(self.tls.playwright.devices), 1)[0]
|
||||
device = self.tls.playwright.devices[device_key]
|
||||
# while device is None:
|
||||
# device_key = random.sample(list(self.tls.playwright.devices), 1)[0]
|
||||
@@ -417,7 +417,6 @@ class CommandorPage:
|
||||
|
||||
def handle_captcha_error(self):
|
||||
MONGO_STORE_MANAGER.insert_captcha_error_contact(self.contact)
|
||||
params.oracle_log_sender.send_captcha_error(self.contact)
|
||||
|
||||
def check_is_blocked(self) -> bool:
|
||||
iframe = self.page.query_selector('iframe').content_frame()
|
||||
|
||||
Reference in New Issue
Block a user