new_identity: authenticate with blank password
See https://github.com/user234683/youtube-local/issues/20#issuecomment-716198162
This commit is contained in:
parent
7e5c0bf261
commit
8abfe150f0
@ -112,7 +112,7 @@ class TorManager:
|
||||
try:
|
||||
port = settings.tor_control_port
|
||||
with stem.control.Controller.from_port(port=port) as controller:
|
||||
controller.authenticate()
|
||||
controller.authenticate('')
|
||||
print('new_identity: Getting new identity')
|
||||
controller.signal(stem.Signal.NEWNYM)
|
||||
print('new_identity: NEWNYM signal sent')
|
||||
|
Loading…
x
Reference in New Issue
Block a user