Skip to content

Commit f504648

Browse files
committed
apply suggestion
1 parent cfd881a commit f504648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/webkitgtk/service.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(
4242
**kwargs,
4343
) -> None:
4444
self.service_args = service_args or []
45-
log_output = open(log_output, "wb")
45+
log_output = open(log_output, "wb") if log_output else None
4646
super().__init__(
4747
executable_path=executable_path,
4848
port=port,

0 commit comments

Comments
 (0)