mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-30 16:23:40 -05:00
fix Windows path to prevent Tor control port from breaking
This commit is contained in:
parent
21e2546435
commit
027d77416e
@ -148,6 +148,8 @@ class OnionShare(object):
|
|||||||
self.controller.authenticate()
|
self.controller.authenticate()
|
||||||
|
|
||||||
# set up hidden service
|
# set up hidden service
|
||||||
|
if helpers.get_platform() == 'Windows':
|
||||||
|
self.hidserv_dir = self.hidserv_dir.replace('\\', '/')
|
||||||
hsdic = self.controller.get_conf_map('HiddenServiceOptions') or {
|
hsdic = self.controller.get_conf_map('HiddenServiceOptions') or {
|
||||||
'HiddenServiceDir': [], 'HiddenServicePort': []
|
'HiddenServiceDir': [], 'HiddenServicePort': []
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user