Skip to content

Commit

Permalink
Fixed linter
Browse files Browse the repository at this point in the history
  • Loading branch information
fgibertoni committed Nov 6, 2024
1 parent 6467c04 commit 892793a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def handle_exception(self, *args, **kwargs):
except WebDriverException as e:
logger.error(
f"Error while performing {action=}"
f"{' for url=' + url if action == "navigate" else ''}: {e}"
f"{' for url=' + url if action == 'navigate' else ''}: {e}"
)
self.restart(motivation=action)
func(self, *args, **kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def dump_seleniumwire_requests(request: Request) -> dict:
# to decode data encoded with the previous function
def load_seleniumwire_requests(to_load: dict) -> Request:
logger.info(
f"Starting to deserialize seleniumwire request for url {to_load["url"]}"
f"Starting to deserialize seleniumwire request for url {to_load['url']}"
)
response_to_load = to_load["response"]
response = (
Expand Down Expand Up @@ -100,5 +100,5 @@ def load_seleniumwire_requests(to_load: dict) -> Request:
response.cert = response_to_load["cert"]
request.response = response

logger.info(f"Finished deserializing seleniumwire request for url {to_load["url"]}")
logger.info(f"Finished deserializing seleniumwire request for url {to_load['url']}")
return request

0 comments on commit 892793a

Please sign in to comment.