summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/tests/test_webapp.py4
-rw-r--r--searx/webapp.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/searx/tests/test_webapp.py b/searx/tests/test_webapp.py
index e69129d3a..82d4a9088 100644
--- a/searx/tests/test_webapp.py
+++ b/searx/tests/test_webapp.py
@@ -83,8 +83,8 @@ class ViewsTestCase(SearxTestCase):
self.assertEqual(
'title,url,content,host,engine,score\r\n'
- 'First Test,http://first.test.xyz,first test content,first.test.xyz,startpage,\r\n'
- 'Second Test,http://second.test.xyz,second test content,second.test.xyz,youtube,\r\n',
+ 'First Test,http://first.test.xyz,first test content,first.test.xyz,startpage,\r\n' # noqa
+ 'Second Test,http://second.test.xyz,second test content,second.test.xyz,youtube,\r\n', # noqa
result.data
)
diff --git a/searx/webapp.py b/searx/webapp.py
index 347ee969d..ec8fe8fb3 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -252,7 +252,7 @@ def list_engines():
"""
return render('engines.html',
categs=categories.items(),
- shortcuts={y:x for x,y in engine_shortcuts.items()})
+ shortcuts={y: x for x, y in engine_shortcuts.items()})
@app.route('/preferences', methods=['GET', 'POST'])