fixed 2nd depreciation warning

This commit is contained in:
piair 2021-12-23 17:04:53 +01:00
parent 8705597d9a
commit e315459ffe
1 changed files with 2 additions and 2 deletions

4
V4.py
View File

@ -53,7 +53,7 @@ def FirefoxMobile(Headless = Headless):
options.set_preference("general.useragent.override", MOBILE_USER_AGENT)
return(webdriver.Firefox(options=options, service_log_path=os.devnull))
return(webdriver.Firefox(options=options, log_path=os.devnull))
def FirefoxPC(Headless = Headless):
@ -68,7 +68,7 @@ def FirefoxPC(Headless = Headless):
options.add_argument("-headless")
options.set_preference("general.useragent.override", PC_USER_AGENT)
return(webdriver.Firefox(options=options,service_log_path=os.devnull))
return(webdriver.Firefox(options=options,log_path=os.devnull))
if IsLinux :