diff options
author | Alexandre Flament <alex@al-f.net> | 2020-11-16 09:43:23 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-12-01 15:21:19 +0100 |
commit | b00d108673082fc2487b2d122db00d988f561427 (patch) | |
tree | 51b5324935f24864730d705efd9f4f6a9dea465f /searx/search.py | |
parent | 9ed3ee2bebf2f159d4231d9aad9df53aea6db90a (diff) | |
download | searxng-b00d108673082fc2487b2d122db00d988f561427.tar.gz searxng-b00d108673082fc2487b2d122db00d988f561427.zip |
[mod] pylint: numerous minor code fixes
Diffstat (limited to 'searx/search.py')
-rw-r--r-- | searx/search.py | 5 |
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: |