summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/gui')
-rw-r--r--src/leap/bitmask/gui/anonvpn.py6
-rw-r--r--src/leap/bitmask/gui/app.py2
-rw-r--r--src/leap/bitmask/gui/app2.py7
3 files changed, 0 insertions, 15 deletions
diff --git a/src/leap/bitmask/gui/anonvpn.py b/src/leap/bitmask/gui/anonvpn.py
index 18b2514e..51aefc2b 100644
--- a/src/leap/bitmask/gui/anonvpn.py
+++ b/src/leap/bitmask/gui/anonvpn.py
@@ -23,19 +23,13 @@ Launches bitmaskd and then launches the systray.
import subprocess
import os
-import platform
-import signal
-import sys
-from functools import partial
from multiprocessing import Process
from leap.bitmask.util import here
from leap.bitmask.core.launcher import run_bitmaskd, pid
from leap.bitmask.gui.housekeeping import cleanup, terminate, reset_authtoken
from leap.bitmask.gui.housekeeping import check_stale_pidfile
-from leap.bitmask.gui.housekeeping import NoAuthTokenError
-from leap.common.config import get_path_prefix
bitmaskd = None
diff --git a/src/leap/bitmask/gui/app.py b/src/leap/bitmask/gui/app.py
index 20942294..70c0051f 100644
--- a/src/leap/bitmask/gui/app.py
+++ b/src/leap/bitmask/gui/app.py
@@ -32,13 +32,11 @@ from multiprocessing import Process
from leap.bitmask.system import IS_WIN
from leap.bitmask.core.launcher import run_bitmaskd, pid
-from leap.bitmask.gui import app_rc
from leap.bitmask.gui.systray import WithTrayIcon
from leap.bitmask.gui.housekeeping import cleanup, terminate, reset_authtoken
from leap.bitmask.gui.housekeeping import get_authenticated_url
from leap.bitmask.gui.housekeeping import NoAuthTokenError
from leap.bitmask.gui.housekeeping import check_stale_pidfile
-from leap.common.config import get_path_prefix
HAS_WEBENGINE = False
diff --git a/src/leap/bitmask/gui/app2.py b/src/leap/bitmask/gui/app2.py
index 6a83e1f6..5ec76b7b 100644
--- a/src/leap/bitmask/gui/app2.py
+++ b/src/leap/bitmask/gui/app2.py
@@ -23,15 +23,9 @@ For the moment, it requires also qt5 for the systray, but we should move to a
native solution on each platform.
"""
-import getpass
import os
-import platform
-import signal
import sys
-import time
-import webbrowser
-from functools import partial
from multiprocessing import Process
import webview
@@ -40,7 +34,6 @@ import psutil
from PyQt5.QtWidgets import QApplication
from leap.bitmask.core.launcher import run_bitmaskd, pid
-from leap.common.config import get_path_prefix
from leap.bitmask.gui.systray import WithTrayIcon
from leap.bitmask.gui.housekeeping import cleanup, terminate, reset_authtoken