summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/fw
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-04-04 01:51:00 +0200
committerRuben Pollan <meskio@sindominio.net>2018-04-11 16:40:11 +0200
commitfa6ab2631f86cb323d6adeb09d855ef861a79c2b (patch)
tree6b0149151c512e717e7511480762f62bf3dc9eca /src/leap/bitmask/vpn/fw
parent0607379f8105c2e1a706618ca0f28d9f8e135312 (diff)
[bug] fix import
Diffstat (limited to 'src/leap/bitmask/vpn/fw')
-rw-r--r--src/leap/bitmask/vpn/fw/firewall.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/fw/firewall.py b/src/leap/bitmask/vpn/fw/firewall.py
index 2a0300cf..1142b264 100644
--- a/src/leap/bitmask/vpn/fw/firewall.py
+++ b/src/leap/bitmask/vpn/fw/firewall.py
@@ -25,6 +25,7 @@ import subprocess
from twisted.logger import Logger
+from leap.bitmask.util import STANDALONE
from leap.bitmask.system import IS_MAC, IS_LINUX, IS_SNAP
from leap.bitmask.vpn.constants import BITMASK_ROOT_SYSTEM
from leap.bitmask.vpn.constants import BITMASK_ROOT_LOCAL
@@ -96,7 +97,7 @@ class _LinuxFirewallManager(object):
if IS_SNAP:
# snap has its own version under /snap
BITMASK_ROOT = BITMASK_ROOT_SNAP
- elif IS_STANDALONE and os.path.isfile(BITMASK_ROOT_LOCAL):
+ elif STANDALONE and os.path.isfile(BITMASK_ROOT_LOCAL):
# if this is a bundle, we pick local. bundles ask to install it there.
BITMASK_ROOT = BITMASK_ROOT_LOCAL
else: