Skip to content

Commit

Permalink
[py]: Remove unnecessary else block in SeleniumManager.run()
Browse files Browse the repository at this point in the history
  • Loading branch information
symonk committed Jul 24, 2023
1 parent 882afba commit 6d41ffd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions py/selenium/webdriver/common/selenium_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,4 @@ def run(args: List[str]) -> str:

if completed_proc.returncode:
raise WebDriverException(f"Unsuccessful command executed: {command}.\n{result}{stderr}")
else:
return result
return result

0 comments on commit 6d41ffd

Please sign in to comment.