summaryrefslogtreecommitdiff
path: root/searx/plugins
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-01-18 12:47:31 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-01-18 12:47:31 +0100
commitbd22e9a3363090a5e4f851670b0650349a528749 (patch)
treeea0b4b80430ffebc7e9eaa2c28188884a7c67218 /searx/plugins
parent6a158ca2d2c5fdec597f1025c58fad90a57312dc (diff)
downloadsearxng-bd22e9a3363090a5e4f851670b0650349a528749.tar.gz
searxng-bd22e9a3363090a5e4f851670b0650349a528749.zip
[fix] pep8 compatibilty
Diffstat (limited to 'searx/plugins')
-rw-r--r--searx/plugins/https_rewrite.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/plugins/https_rewrite.py b/searx/plugins/https_rewrite.py
index a24f15a28..0a58cc85d 100644
--- a/searx/plugins/https_rewrite.py
+++ b/searx/plugins/https_rewrite.py
@@ -103,10 +103,10 @@ def load_single_https_ruleset(rules_path):
# into a valid python regex group
rule_from = ruleset.attrib['from'].replace('$', '\\')
if rule_from.endswith('\\'):
- rule_from = rule_from[:-1]+'$'
+ rule_from = rule_from[:-1] + '$'
rule_to = ruleset.attrib['to'].replace('$', '\\')
if rule_to.endswith('\\'):
- rule_to = rule_to[:-1]+'$'
+ rule_to = rule_to[:-1] + '$'
# TODO, not working yet because of the hack above,
# currently doing that in webapp.py