Added message that will show tor auth failed.

This commit is contained in:
MadcowOG 2022-05-03 20:05:13 -07:00
parent b100e9d6c9
commit 1f9e07c4fe

View File

@ -58,6 +58,7 @@ def send_tor_signal(signal: Signal) -> bool:
os.environ['TOR_AVAILABLE'] = '1'
except (SocketError, ConnectionRefusedError, ConnectionError):
os.environ['TOR_AVAILABLE'] = '0'
print("Authentication with control port failed. Tor will be unavailable.")
return False