Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 8, 2023
1 parent 216247a commit cd2134e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/widgetastic/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ def send_keys(self, text: str, locator: LocatorAlias, sensitive=False, *args, **
self.selenium.file_detector = LocalFileDetector()
el = self.move_to_element(locator, *args, **kwargs)
self.plugin.before_keyboard_input(el, text)
self.logger.debug("send_keys %r to %r", '*'*len(text) if sensitive else text, locator)
self.logger.debug("send_keys %r to %r", "*" * len(text) if sensitive else text, locator)
result = el.send_keys(text)
if Keys.ENTER not in text:
try:
Expand Down
2 changes: 1 addition & 1 deletion src/widgetastic/widget/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def read(self):
return self.value

def fill(self, value, sensitive=False):
""" Fill TextInput widget with value
"""Fill TextInput widget with value
Args:
value: Text to be filled into the input.
sensitive: Bool, If is set to True do not log sensitive data.
Expand Down

0 comments on commit cd2134e

Please sign in to comment.