Skip to content

Commit

Permalink
[py]: convert service_url to fstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
symonk committed Oct 2, 2022
1 parent 58c3c5c commit c09027b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/common/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def service_url(self):
"""
Gets the url of the Service
"""
return "http://%s" % utils.join_host_port('localhost', self.port)
return f"http://{utils.join_host_port('localhost', self.port)}"

def command_line_args(self):
raise NotImplementedError("This method needs to be implemented in a sub class")
Expand Down

0 comments on commit c09027b

Please sign in to comment.