Skip to content

Commit b5a1d07

Browse files
cool-RRlukeis
authored andcommitted
Style changes (PEP8)
Signed-off-by: Luke Inman-Semerau <[email protected]>
1 parent a55454f commit b5a1d07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: py/selenium/webdriver/support/select.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def select_by_visible_text(self, text):
135135
return
136136
matched = True
137137

138-
if matched != True:
138+
if not matched:
139139
raise NoSuchElementException("Could not locate element with visible text: %s" % text)
140140

141141
def deselect_all(self):

0 commit comments

Comments
 (0)