summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-10-21 16:59:47 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-10-21 17:17:35 -0400
commit5cb173a9939f051fce06bfe540a87881bde9680f (patch)
tree8185a4517876e07cb52033aef416205065ab7c42 /src/leap/bitmask/core
parent79dec982945e784477d13f7dd5adff7ce96424f7 (diff)
[bug] use tcp endpoint for windows
Diffstat (limited to 'src/leap/bitmask/core')
-rw-r--r--src/leap/bitmask/core/__init__.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/leap/bitmask/core/__init__.py b/src/leap/bitmask/core/__init__.py
index aad3a4a..55672e4 100644
--- a/src/leap/bitmask/core/__init__.py
+++ b/src/leap/bitmask/core/__init__.py
@@ -1,5 +1,10 @@
+import platform
+
APPNAME = "bitmask.core"
-ENDPOINT = "ipc:///tmp/%s.sock" % APPNAME
+if platform.system() =='Windows':
+ ENDPOINT = "tcp://127.0.0.1:5001"
+else:
+ ENDPOINT = "ipc:///tmp/%s.sock" % APPNAME
# FIXME some temporary imports to make the modules
# appear in the coverage report. Remove the imports when