From 310905237f8766495fe39a7fd1023b76090d08bb Mon Sep 17 00:00:00 2001 From: lza_menace Date: Tue, 24 May 2022 12:16:54 -0700 Subject: [PATCH] fix var ref --- xmrnodes/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmrnodes/helpers.py b/xmrnodes/helpers.py index 419ed76..a3c0684 100644 --- a/xmrnodes/helpers.py +++ b/xmrnodes/helpers.py @@ -16,7 +16,7 @@ def make_request(url: str, path="/get_info", data=None): headers = {"Origin": "https://monero.fail"} if is_onion(url): _p = f"socks5h://{config.TOR_HOST}:{config.TOR_PORT}" - proxies = {"http": p, "https": p} + proxies = {"http": _p, "https": _p} timeout = 30 else: proxies = None