mirror of
https://github.com/lalanza808/monero.fail.git
synced 2025-08-22 01:29:29 -04:00
fix var ref
This commit is contained in:
parent
e0dc8257e1
commit
310905237f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue