summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-09-27 12:55:18 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-09-27 12:55:18 -0400
commit62d1f7eb5c714aabcb625499dd16d68df76c856b (patch)
tree505f5a50b174d38cb229135044a9230d2416c37c /src
parentbe5feead1469863982560b7cf75f5bfca627e21c (diff)
[bug] launch backend from gui
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/gui/app.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/app.py b/src/leap/bitmask/gui/app.py
index b6e8510b..fdddc897 100644
--- a/src/leap/bitmask/gui/app.py
+++ b/src/leap/bitmask/gui/app.py
@@ -26,6 +26,8 @@ import sys
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5 import QtWebKit, QtWebKitWidgets
+from bitmask.core.launcher import run_bitmaskd()
+
BITMASK_URI = 'http://localhost:7070'
qApp = None
@@ -58,6 +60,9 @@ def start_app():
global qApp
+ # TODO should do it if no pid
+ run_bitmaskd()
+
qApp = QtWidgets.QApplication([])
browser = BrowserWindow(None)