diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-07-25 11:36:32 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-07-25 11:36:32 -0300 |
commit | ac2d0506fff21e30a3e072b85097938322da15ea (patch) | |
tree | b33017a924817509f376f10e634bcc2a97f40395 /src/leap/bitmask/platform_init | |
parent | dab3aea7281ecd473db2f4830c2bec0b3ccaa536 (diff) | |
parent | 28553c41c3d879481923102a1b41ecd71641d0d8 (diff) |
Merge remote-tracking branch 'refs/remotes/ivan/feature/autostart-on-linux' into develop
Diffstat (limited to 'src/leap/bitmask/platform_init')
-rw-r--r-- | src/leap/bitmask/platform_init/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/platform_init/__init__.py b/src/leap/bitmask/platform_init/__init__.py index 2a262a30..a9a97af9 100644 --- a/src/leap/bitmask/platform_init/__init__.py +++ b/src/leap/bitmask/platform_init/__init__.py @@ -22,7 +22,7 @@ import platform _system = platform.system() -IS_WIN = True if _system == "Windows" else False -IS_MAC = True if _system == "Darwin" else False -IS_LINUX = True if _system == "Linux" else False +IS_LINUX = _system == "Linux" +IS_MAC = _system == "Darwin" IS_UNIX = IS_MAC or IS_LINUX +IS_WIN = _system == "Windows" |