summaryrefslogtreecommitdiff
path: root/searx/search.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/search.py')
-rw-r--r--searx/search.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/searx/search.py b/searx/search.py
index b8ada3901..a3b80249e 100644
--- a/searx/search.py
+++ b/searx/search.py
@@ -43,9 +43,8 @@ else:
logger.info('max_request_timeout={0} second(s)'.format(max_request_timeout))
else:
logger.critical('outgoing.max_request_timeout if defined has to be float')
- from sys import exit
-
- exit(1)
+ import sys
+ sys.exit(1)
class EngineRef: