Update v2.py
This commit is contained in:
parent
a50362f9e8
commit
38b3eb2ec8
|
@ -494,8 +494,8 @@ class Patcher(object):
|
||||||
linect += 1
|
linect += 1
|
||||||
return linect
|
return linect
|
||||||
|
|
||||||
def __del__(self):
|
|
||||||
shutil.rmtree(os.path.dirname(self.target_path), ignore_errors=True)
|
|
||||||
|
|
||||||
|
|
||||||
class ChromeOptions(selenium.webdriver.chrome.webdriver.Options):
|
class ChromeOptions(selenium.webdriver.chrome.webdriver.Options):
|
||||||
|
|
Loading…
Reference in New Issue