Jared 2 vuotta sitten
vanhempi
commit
7bb7f65c1f
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      run3.py

+ 1 - 0
run3.py

@@ -43,6 +43,7 @@ logger.fatal('[poibot]['+hname+']['+pid+']begin')
 def serive_create(profilepath):
     if driver is not None:
         driver.quit()
+        os.system('killall chrome')
         driver=None
     option = webdriver.ChromeOptions()