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/vpn/helpers | |
parent | a1877f36032c5c4fd0685cda7c8843ce02a4d044 (diff) |
[style] pep8
Diffstat (limited to 'src/leap/bitmask/vpn/helpers')
-rw-r--r-- | src/leap/bitmask/vpn/helpers/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/vpn/helpers/__init__.py b/src/leap/bitmask/vpn/helpers/__init__.py index 26567d07..cac4a4ec 100644 --- a/src/leap/bitmask/vpn/helpers/__init__.py +++ b/src/leap/bitmask/vpn/helpers/__init__.py @@ -67,10 +67,10 @@ if IS_LINUX: helper_path_digest = digest(helper_path) if (_exists_and_can_read(BITMASK_ROOT_SYSTEM) and helper_path_digest == digest(BITMASK_ROOT_SYSTEM)): - return True + return True if (_exists_and_can_read(BITMASK_ROOT_LOCAL) and helper_path_digest == digest(BITMASK_ROOT_LOCAL)): - return True + return True return False @@ -91,7 +91,7 @@ if IS_LINUX: openvpn_path_digest = digest(openvpn_path) if (_exists_and_can_read(OPENVPN_LOCAL) and openvpn_path_digest == digest(OPENVPN_LOCAL)): - return True + return True return False |