diff --git a/config.ini b/config.ini index ea3dd0e..654e4db 100644 --- a/config.ini +++ b/config.ini @@ -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/ \ No newline at end of file +contact_list_file = .\contact_all.xlsx +firebase_config_file = .\appointment.json +LOGS_DIR = .\ \ No newline at end of file diff --git a/workers/commandor_page.py b/workers/commandor_page.py index a57a378..ad66bc4 100644 --- a/workers/commandor_page.py +++ b/workers/commandor_page.py @@ -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()