Skip to content

Commit

Permalink
py: make geckodriver append to non-existent log files
Browse files Browse the repository at this point in the history
  • Loading branch information
andreastt committed Jan 19, 2016
1 parent 0ea23d3 commit bf10c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/firefox/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(
in the services' environment.
"""
if log_path:
log_file = open(log_path, "w")
log_file = open(log_path, "a+")

service.Service.__init__(
self, executable_path, port=port, log_file=log_file, env=env)
Expand Down

0 comments on commit bf10c23

Please sign in to comment.