diff options
author | Kali Kaneko <kali@leap.se> | 2018-02-13 23:09:20 +0100 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2018-02-15 16:36:49 +0100 |
commit | c3c32258aaf2e1484f828e3198eff9880d7ba2e7 (patch) | |
tree | 7546285e5f1607618201bb36e1c6d4bd27330a00 /src/leap/bitmask/gui/app.py | |
parent | a1877f36032c5c4fd0685cda7c8843ce02a4d044 (diff) |
[style] pep8
Diffstat (limited to 'src/leap/bitmask/gui/app.py')
-rw-r--r-- | src/leap/bitmask/gui/app.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/leap/bitmask/gui/app.py b/src/leap/bitmask/gui/app.py index ee8e9387..eb34f398 100644 --- a/src/leap/bitmask/gui/app.py +++ b/src/leap/bitmask/gui/app.py @@ -39,7 +39,7 @@ from leap.bitmask.gui.housekeeping import NoAuthTokenError from leap.common.config import get_path_prefix -HAS_WEBENGINE=False +HAS_WEBENGINE = False if platform.system() == 'Windows': from multiprocessing import freeze_support @@ -62,7 +62,7 @@ else: from PyQt5.QtWebEngineWidgets import QWebEngineView as QWebView from PyQt5.QtWebEngineWidgets import QWebEngineSettings as QWebSettings from PyQt5.QtWebChannel import QWebChannel - HAS_WEBENGINE=True + HAS_WEBENGINE = True except ImportError: from PyQt5.QtWebKitWidgets import QWebView from PyQt5.QtWebKit import QWebSettings @@ -167,6 +167,7 @@ class AppBridge(QObject): def openSystemBrowser(self, url): webbrowser.open(url) + pixbrowser = None closing = False @@ -231,6 +232,7 @@ def launch_gui(with_window=True): sys.exit(qApp.exec_()) + usage = '''bitmask [<args>] Launches the Bitmask GUI. @@ -241,7 +243,7 @@ OPTIONAL ARGUMENTS: SEE ALSO: - bitmaskctl controls bitmask daemon from the command line. + bitmaskctl controls bitmask daemon from the command line. ''' |