summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2014-01-31 16:17:49 +0100
committerasciimoo <asciimoo@gmail.com>2014-01-31 16:17:49 +0100
commit455ff25a9326691bf01a644a91ace9f314d9024c (patch)
tree52809dd72dda947cdae4c98bde023bc98dfad421
parent017c85c447f5ffb976ceae58bf66964022c6fe0a (diff)
[fix] pep8
-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'])