From 971bf0c5eeb236fbf91ae02f4cf7c2daafb54f4d Mon Sep 17 00:00:00 2001 From: SAIKAT KARMAKAR Date: Sat, 2 Dec 2023 11:41:00 +0000 Subject: [PATCH] replaced strip with rstrip --- src/ape/api/providers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ape/api/providers.py b/src/ape/api/providers.py index dacbe0ee3e..42c00057f1 100644 --- a/src/ape/api/providers.py +++ b/src/ape/api/providers.py @@ -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:])}"