diff --git a/leetcode_generate.py b/leetcode_generate.py index 894ceeef..5156827a 100755 --- a/leetcode_generate.py +++ b/leetcode_generate.py @@ -206,7 +206,7 @@ def login(self): options.add_argument('--disable-gpu') executable_path = CONFIG.get('driverpath') driver = webdriver.Chrome( - chrome_options=options, executable_path=executable_path + options=options, executable_path=executable_path ) driver.get(LOGIN_URL)