diff options
author | Miguel Jacq <mig@mig5.net> | 2018-02-12 13:43:34 +1100 |
---|---|---|
committer | Miguel Jacq <mig@mig5.net> | 2018-02-12 13:43:36 +1100 |
commit | 267aa7dfecab5ffbd6564024d5dfb1dbf21dbcb3 (patch) | |
tree | 8ed4fe3ebc0350f426c673ea4a33400e4b873b52 /onionshare | |
parent | 145293d3cc3112775df3fb73f6fb5ec97fd50002 (diff) | |
download | onionshare-267aa7dfecab5ffbd6564024d5dfb1dbf21dbcb3.tar.gz onionshare-267aa7dfecab5ffbd6564024d5dfb1dbf21dbcb3.zip |
Pass the correct parameter to remove_ephemeral_hidden_service()
Add debug logs to verify if an onion was successfully deleted or not
Diffstat (limited to 'onionshare')
-rw-r--r-- | onionshare/onion.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/onionshare/onion.py b/onionshare/onion.py index 0bf12bb3..668de051 100644 --- a/onionshare/onion.py +++ b/onionshare/onion.py @@ -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 |