diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-10-21 16:58:33 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-10-21 17:17:34 -0400 |
commit | 79dec982945e784477d13f7dd5adff7ce96424f7 (patch) | |
tree | 0b6a6a4346e40ed6089d55d8dab1efb464268083 /src/leap/bitmask/core | |
parent | b9f8766d72728093f6183c289d23ecd8a1fa562f (diff) |
[bug] fail gracefully for non-posix import
Diffstat (limited to 'src/leap/bitmask/core')
-rw-r--r-- | src/leap/bitmask/core/service.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/bitmask/core/service.py b/src/leap/bitmask/core/service.py index 5718178c..b6447ddd 100644 --- a/src/leap/bitmask/core/service.py +++ b/src/leap/bitmask/core/service.py @@ -18,7 +18,10 @@ Bitmask-core Service. """ import json -import resource +try: + import resource +except ImportError: + pass from twisted.internet import reactor from twisted.logger import Logger |