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)
|
c.signal(signal)
|
||||||
os.environ['TOR_AVAILABLE'] = '1'
|
os.environ['TOR_AVAILABLE'] = '1'
|
||||||
return True
|
return True
|
||||||
except (SocketError, ConnectionRefusedError, ConnectionError,
|
except (SocketError, ConnectionRefusedError, ConnectionError,
|
||||||
FileNotFoundError):
|
FileNotFoundError):
|
||||||
# If password doesn't work try with cookie.
|
# If password doesn't work try with cookie.
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user