mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-14 13:41:25 -05:00
Pass the correct parameter to remove_ephemeral_hidden_service()
Add debug logs to verify if an onion was successfully deleted or not
This commit is contained in:
parent
575d445de8
commit
fd034f5cb1
@ -489,8 +489,10 @@ class Onion(object):
|
||||
onions = self.c.list_ephemeral_hidden_services()
|
||||
for onion in onions:
|
||||
try:
|
||||
self.c.remove_ephemeral_hidden_service(service_id)
|
||||
common.log('Onion', 'cleanup', 'trying to remove onion {}'.format(onion))
|
||||
self.c.remove_ephemeral_hidden_service(onion)
|
||||
except:
|
||||
common.log('Onion', 'cleanup', 'could not remove onion {}.. moving on anyway'.format(onion))
|
||||
pass
|
||||
except:
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user