mirror of
https://github.com/onionshare/onionshare.git
synced 2025-03-15 02:16:32 -04:00
Better way to get the onion service_id
This commit is contained in:
parent
1cd36f6bbf
commit
ac29bdb5df
@ -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…
x
Reference in New Issue
Block a user