[Pkg-anonymity-tools] [onionshare] 27/57: fix Windows path to prevent Tor control port from breaking

Ulrike Uhlig u-guest at moszumanska.debian.org
Tue May 19 18:18:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to annotated tag 0.7
in repository onionshare.

commit 027d77416e968ed701b5b9770b4a8b5051e97a72
Author: Micah Lee <micah at micahflee.com>
Date:   Tue Dec 9 19:06:59 2014 -0800

    fix Windows path to prevent Tor control port from breaking
---
 onionshare/onionshare.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/onionshare/onionshare.py b/onionshare/onionshare.py
index ac7ff00..8b736b9 100644
--- a/onionshare/onionshare.py
+++ b/onionshare/onionshare.py
@@ -148,6 +148,8 @@ class OnionShare(object):
                 self.controller.authenticate()
 
                 # set up hidden service
+                if helpers.get_platform() == 'Windows':
+                    self.hidserv_dir = self.hidserv_dir.replace('\\', '/')
                 hsdic = self.controller.get_conf_map('HiddenServiceOptions') or {
                     'HiddenServiceDir': [], 'HiddenServicePort': []
                 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/onionshare.git



More information about the Pkg-anonymity-tools mailing list