summaryrefslogtreecommitdiff
path: root/searx/exceptions.py
diff options
context:
space:
mode:
authorDalf <alex@al-f.net>2020-08-12 09:42:27 +0200
committerAlexandre Flament <alex@al-f.net>2020-09-10 10:39:04 +0200
commit78883777438fc07833d983c50d9b131eb6feb9eb (patch)
treefec44995d58a5c8ebe33ccd4406eaa228a55cbb3 /searx/exceptions.py
parent78df10fb55d9632ccae71d9f3b9260c7614a421c (diff)
downloadsearxng-78883777438fc07833d983c50d9b131eb6feb9eb.tar.gz
searxng-78883777438fc07833d983c50d9b131eb6feb9eb.zip
Drop Python 2 (3/n): objects
Diffstat (limited to 'searx/exceptions.py')
-rw-r--r--searx/exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/exceptions.py b/searx/exceptions.py
index 0175acfa3..4af816272 100644
--- a/searx/exceptions.py
+++ b/searx/exceptions.py
@@ -27,7 +27,7 @@ class SearxParameterException(SearxException):
message = 'Empty ' + name + ' parameter'
else:
message = 'Invalid value "' + value + '" for parameter ' + name
- super(SearxParameterException, self).__init__(message)
+ super().__init__(message)
self.message = message
self.parameter_name = name
self.parameter_value = value