Skip to content

Commit 642c4fd

Browse files
committed
[py]: Fix CI
1 parent f41bc81 commit 642c4fd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

py/selenium/webdriver/common/selenium_manager.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,10 @@ def run(args: List[str]) -> dict:
118118
logger.debug(f"Executing process: {command}")
119119
try:
120120
if sys.platform == "win32":
121-
completed_proc = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, creationflags=subprocess.CREATE_NO_WINDOW)
122-
else:
121+
completed_proc = subprocess.run(
122+
args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, creationflags=subprocess.CREATE_NO_WINDOW
123+
)
124+
else:
123125
completed_proc = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
124126
stdout = completed_proc.stdout.decode("utf-8").rstrip("\n")
125127
stderr = completed_proc.stderr.decode("utf-8").rstrip("\n")

0 commit comments

Comments
 (0)