summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/core')
-rw-r--r--src/leap/bitmask/core/service.py5
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