diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-27 14:18:57 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-27 16:19:21 -0400 |
commit | 4d8e63e890e88c58feb750dd56ecbf60bed9b462 (patch) | |
tree | 29433783bcc71a9fb2516e4ed4aea14584b99532 /src/leap/bitmask/util.py | |
parent | 62d1f7eb5c714aabcb625499dd16d68df76c856b (diff) |
[feature] launch backend from the qt gui entrypoint
Diffstat (limited to 'src/leap/bitmask/util.py')
-rw-r--r-- | src/leap/bitmask/util.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/bitmask/util.py b/src/leap/bitmask/util.py index 3a99e13..9120fc4 100644 --- a/src/leap/bitmask/util.py +++ b/src/leap/bitmask/util.py @@ -25,11 +25,12 @@ from twisted.python import log from leap.common.files import which - STANDALONE = getattr(sys, 'frozen', False) def here(module=None): + global STANDALONE + if STANDALONE: # we are running in a |PyInstaller| bundle return sys._MEIPASS @@ -48,6 +49,7 @@ def get_gpg_bin_path(): :returns: the gpg binary path :rtype: str """ + global STANDALONE gpgbin = None if STANDALONE: |