summaryrefslogtreecommitdiff
path: root/searx/search.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/search.py')
-rw-r--r--searx/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search.py b/searx/search.py
index b81112c9..3619287b 100644
--- a/searx/search.py
+++ b/searx/search.py
@@ -69,7 +69,7 @@ class SearchQuery:
self.lang = lang
self.safesearch = safesearch
self.pageno = pageno
- self.time_range = None if time_range in ('', 'None', None) else time_range
+ self.time_range = time_range
self.timeout_limit = timeout_limit
self.preferences = preferences
self.external_bang = external_bang