mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Better way to get the onion service_id
This commit is contained in:
parent
627ea18f83
commit
a73f1471a2
@ -406,7 +406,7 @@ class Onion(object):
|
||||
except ProtocolError:
|
||||
raise TorErrorProtocolError(strings._('error_tor_protocol_error'))
|
||||
|
||||
self.service_id = res.content()[0][2].split('=')[1]
|
||||
self.service_id = res.service_id
|
||||
onion_host = self.service_id + '.onion'
|
||||
|
||||
if self.stealth:
|
||||
|
Loading…
Reference in New Issue
Block a user