mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-05 07:55:23 -04:00
Better way to get the onion service_id
This commit is contained in:
parent
627ea18f83
commit
a73f1471a2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue