Update v2.py

This commit is contained in:
Leon 2021-02-02 09:30:42 +01:00 committed by GitHub
parent a50362f9e8
commit 38b3eb2ec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -494,8 +494,8 @@ class Patcher(object):
linect += 1
return linect
def __del__(self):
shutil.rmtree(os.path.dirname(self.target_path), ignore_errors=True)
class ChromeOptions(selenium.webdriver.chrome.webdriver.Options):