Skip to content

Commit

Permalink
applying tox linting and diff cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
iampopovich committed Jun 22, 2024
1 parent aced28a commit 24b92ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/firefox/firefox_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def __init__(self, profile_directory=None):
This defaults to None and will create a new
directory when object is created.
"""

self._desired_preferences = {}
if profile_directory:
newprof = os.path.join(tempfile.mkdtemp(), "webdriver-py-profilecopy")
Expand Down Expand Up @@ -94,6 +93,7 @@ def update_preferences(self):
f.write(f'user_pref("{key}", {json.dumps(value)});\n')

# Properties

@property
def path(self):
"""Gets the profile directory that is currently being used."""
Expand Down

0 comments on commit 24b92ea

Please sign in to comment.