changed quote style

This commit is contained in:
Mathew Guest 2021-07-11 18:51:54 -06:00
parent 6b3de90926
commit e0e70cc539

@ -26,19 +26,19 @@ class BrowserProxy:
self._pickle_filename = pickle_filename self._pickle_filename = pickle_filename
LOGGER.info('creating selenium browser: session name = %s', session_name) LOGGER.info('creating selenium browser: session name = %s', session_name)
try: try:
driver_type = "remote_chromium2" driver_type = 'remote_chromium2'
self.driver_type = driver_type self.driver_type = driver_type
print('session_name:', session_name) print('session_name:', session_name)
if phantom: if phantom:
pass pass
driver_type = "phantomjs" # driver_type = "phantomjs"
self.driver = self.get_driver(driver_type, session_name) self.driver = self.get_driver(driver_type, session_name)
if not self.driver: if not self.driver:
LOGGER.error("failed to get selenium webdriver") LOGGER.error('failed to get selenium webdriver')
self.good = False self.good = False
return return
except Exception as ex: except Exception as ex:
print("caught exception at BrowserProxy().__init__") print('caught exception at BrowserProxy().__init__')
print(type(ex), ex) print(type(ex), ex)
# self.page = nhsn_lo.pages.Login(self) # self.page = nhsn_lo.pages.Login(self)