Skip to content

Commit

Permalink
replaced strip with rstrip
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviksaikat committed Dec 2, 2023
1 parent 4982403 commit 971bf0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ape/api/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ def _sanitize_web3_url(msg: str) -> str:

# * To remote the `,` from the url http://127.0.0.1:8545,
if "," in rest[0]:
rest[0] = rest[0].strip(",")
rest[0] = rest[0].rstrip(",")
sanitized_url = sanitize_url(rest[0])
return f"{prefix} URI: {sanitized_url} {' '.join(rest[1:])}"

Expand Down

0 comments on commit 971bf0c

Please sign in to comment.