Codestyle fix.
This commit is contained in:
parent
ad8c4b93de
commit
135e062b12
|
@ -49,7 +49,7 @@ def send_tor_signal(signal: Signal) -> bool:
|
|||
c.signal(signal)
|
||||
os.environ['TOR_AVAILABLE'] = '1'
|
||||
return True
|
||||
except (SocketError, ConnectionRefusedError, ConnectionError,
|
||||
except (SocketError, ConnectionRefusedError, ConnectionError,
|
||||
FileNotFoundError):
|
||||
# If password doesn't work try with cookie.
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user