From b487bb67c96c1e8f81f72bea84da5d996c7b198f Mon Sep 17 00:00:00 2001 From: jpunkt Date: Fri, 3 Jul 2020 14:31:49 +0200 Subject: [PATCH] Fixed typo. --- blocklenium/selenium_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocklenium/selenium_worker.py b/blocklenium/selenium_worker.py index afb73ed..880ba62 100644 --- a/blocklenium/selenium_worker.py +++ b/blocklenium/selenium_worker.py @@ -89,7 +89,7 @@ def desk_login(self): pwdfields = self.chromedriver.find_elements_by_css_selector( "input[id*='Password']") - if (len(userfields) > 0) and (len(pwdfields > 0)): + if (len(userfields) > 0) and (len(pwdfields) > 0): userfields[0].send_keys(self.desk_username) pwdfields[0].send_keys(self.desk_password)