mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04: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
145293d3cc
commit
267aa7dfec
@ -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…
Reference in New Issue
Block a user