From 96a5d9714089d3c6d9a930cfbd8f2e81d35debec Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:00:00 +0100 Subject: [PATCH] Update nostr_utils.py --- nostr_dvm/utils/nostr_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostr_dvm/utils/nostr_utils.py b/nostr_dvm/utils/nostr_utils.py index dc4c40c..6edddbc 100644 --- a/nostr_dvm/utils/nostr_utils.py +++ b/nostr_dvm/utils/nostr_utils.py @@ -175,7 +175,7 @@ async def get_main_relays(event_to_send: Event, client: Client, dvm_config): content = json.loads(followlist.content()) relays = [] for relay in content: - if relay not in dvm_config.AVOID_OUTBOX_RELAY_LIST: + if relay.rstrip("/") not in dvm_config.AVOID_OUTBOX_RELAY_LIST: relays.append(relay) return relays except: