summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/filecrop.py1
-rw-r--r--searx/preferences.py2
-rw-r--r--searx/results.py1
-rw-r--r--searx/utils.py1
-rw-r--r--searx/webapp.py1
5 files changed, 6 insertions, 0 deletions
diff --git a/searx/engines/filecrop.py b/searx/engines/filecrop.py
index 89dc77697..71665bd4e 100644
--- a/searx/engines/filecrop.py
+++ b/searx/engines/filecrop.py
@@ -8,6 +8,7 @@ paging = True
class FilecropResultParser(HTMLParser):
+
def __init__(self):
HTMLParser.__init__(self)
self.__start_processing = False
diff --git a/searx/preferences.py b/searx/preferences.py
index dd9133ddb..e19ae7502 100644
--- a/searx/preferences.py
+++ b/searx/preferences.py
@@ -166,6 +166,7 @@ class SwitchableSetting(Setting):
class EnginesSetting(SwitchableSetting):
+
def _post_init(self):
super(EnginesSetting, self)._post_init()
transformed_choices = []
@@ -191,6 +192,7 @@ class EnginesSetting(SwitchableSetting):
class PluginsSetting(SwitchableSetting):
+
def _post_init(self):
super(PluginsSetting, self)._post_init()
transformed_choices = []
diff --git a/searx/results.py b/searx/results.py
index dcd966ef7..4bb0de0d8 100644
--- a/searx/results.py
+++ b/searx/results.py
@@ -91,6 +91,7 @@ def result_score(result):
class ResultContainer(object):
"""docstring for ResultContainer"""
+
def __init__(self):
super(ResultContainer, self).__init__()
self.results = defaultdict(list)
diff --git a/searx/utils.py b/searx/utils.py
index a444cd3cf..219135a4b 100644
--- a/searx/utils.py
+++ b/searx/utils.py
@@ -74,6 +74,7 @@ def highlight_content(content, query):
class HTMLTextExtractor(HTMLParser):
+
def __init__(self):
HTMLParser.__init__(self)
self.result = []
diff --git a/searx/webapp.py b/searx/webapp.py
index 2093bb0b4..00a203636 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -735,6 +735,7 @@ class ReverseProxyPathFix(object):
:param app: the WSGI application
'''
+
def __init__(self, app):
self.app = app