You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print((str(datetime.datetime.now()) +' ['+sys._getframe().f_code.co_name+']'+' Error on line {}'.format(sys.exc_info()[-1].tb_lineno) +' '+str(error)))
172
+
finally:
173
+
ifconn_localhostisnotNone:
174
+
conn_localhost.close
175
+
176
+
#start_date = datetime.datetime.today() - datetime.timedelta(days=2) #PG: start_day = one day before yesterday
driver=webdriver.Chrome(PID_FILE_DIR+'chromedriver.exe',options=options)# Modify this line if your chromedrive executable is located at a different path. The dafault location is /work_dir/temp.
print((str(datetime.datetime.now()) +' ['+sys._getframe().f_code.co_name+']'+' Error on line {}'.format(sys.exc_info()[-1].tb_lineno) +'-E1- '+str(e)))
0 commit comments