summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/leap/bitmask/core/__init__.py1
-rw-r--r--src/leap/bitmask/util.py2
-rw-r--r--src/leap/bitmask/vpn/helpers/__init__.py3
3 files changed, 4 insertions, 2 deletions
diff --git a/src/leap/bitmask/core/__init__.py b/src/leap/bitmask/core/__init__.py
index 5af0f38f..35adb84c 100644
--- a/src/leap/bitmask/core/__init__.py
+++ b/src/leap/bitmask/core/__init__.py
@@ -11,6 +11,7 @@ def dummy_imports():
import mail_services
import dispatcher
+
APPNAME = "bitmask.core"
if platform.system() == 'Windows':
ENDPOINT = "tcp://127.0.0.1:5001"
diff --git a/src/leap/bitmask/util.py b/src/leap/bitmask/util.py
index 2cbea6e6..bd3d7442 100644
--- a/src/leap/bitmask/util.py
+++ b/src/leap/bitmask/util.py
@@ -85,7 +85,7 @@ def get_gpg_bin_path():
gpgbin = os.path.abspath(
os.path.join(here(), "apps", "mail", "gpg.exe"))
elif platform.system() == "Darwin":
- gpgbin = '/Applications/Bitmask.app/Contents/Resources/gpg'
+ gpgbin = '/Applications/Bitmask.app/Contents/Resources/gpg'
else:
gpgbin = os.path.abspath(
os.path.join(here(), "..", "apps", "mail", "gpg"))
diff --git a/src/leap/bitmask/vpn/helpers/__init__.py b/src/leap/bitmask/vpn/helpers/__init__.py
index 9be2150d..0378448d 100644
--- a/src/leap/bitmask/vpn/helpers/__init__.py
+++ b/src/leap/bitmask/vpn/helpers/__init__.py
@@ -10,7 +10,8 @@ from leap.bitmask.util import STANDALONE
if IS_LINUX:
- from leap.bitmask.vpn.constants import BITMASK_ROOT_SYSTEM, BITMASK_ROOT_LOCAL
+ from leap.bitmask.vpn.constants import BITMASK_ROOT_SYSTEM
+ from leap.bitmask.vpn.constants import BITMASK_ROOT_LOCAL
from leap.bitmask.vpn.constants import OPENVPN_SYSTEM, OPENVPN_LOCAL
from leap.bitmask.vpn.constants import POLKIT_SYSTEM, POLKIT_LOCAL
from leap.bitmask.vpn.privilege import is_pkexec_in_system