From e315459ffe407b3debe804241c349cb0d332f0cb Mon Sep 17 00:00:00 2001 From: piair Date: Thu, 23 Dec 2021 17:04:53 +0100 Subject: [PATCH] fixed 2nd depreciation warning --- V4.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/V4.py b/V4.py index 75955a5..30f6592 100644 --- a/V4.py +++ b/V4.py @@ -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 :