change logs

This commit is contained in:
2022-05-14 18:00:26 +02:00
parent cf77136d84
commit b093a3f2db
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
[DEFAULT]
contact_list_file = C:\Users\landd\IdeaProjects\appointment_tool\contact_all.xlsx
firebase_config_file = C:/Users/landd/IdeaProjects/appointment_tool/appointment.json
LOGS_DIR = C:/Users/landd/IdeaProjects/appointment_tool/
contact_list_file = .\contact_all.xlsx
firebase_config_file = .\appointment.json
LOGS_DIR = .\
+1 -1
View File
@@ -117,7 +117,7 @@ class CommandorPage:
def start_browser(self, proxy, pwright, device) -> Union[str, None]:
try:
self.browser = pwright.webkit.launch(headless=False, timeout=90000, proxy=proxy)
self.logger.info("device is " + device)
self.logger.info("模拟设备: " + device)
pixel_2 = pwright.devices[device]
context = self.browser.new_context(**pixel_2, locale='en-GB')
self.page = context.new_page()