summaryrefslogtreecommitdiff
path: root/searx/engines/currency_convert.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-12-01 15:31:10 +0100
committerGitHub <noreply@github.com>2020-12-01 15:31:10 +0100
commit219af243a20899d0c8a677700c36e339d7cdcc74 (patch)
treeb7b98f65cf6cc8127f1d6a06e37419fe45222871 /searx/engines/currency_convert.py
parenta1e6bc4cee2690eb7f2103901ada9a50846a7419 (diff)
parent8aa2a7556ad80d3d644287fc17832050f3a5a303 (diff)
Merge pull request #2318 from dalf/add-pylint
Add pylint
Diffstat (limited to 'searx/engines/currency_convert.py')
-rw-r--r--searx/engines/currency_convert.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/engines/currency_convert.py b/searx/engines/currency_convert.py
index 0e91d31e9..f41c135b9 100644
--- a/searx/engines/currency_convert.py
+++ b/searx/engines/currency_convert.py
@@ -41,8 +41,6 @@ def request(query, params):
from_currency = name_to_iso4217(from_currency.strip())
to_currency = name_to_iso4217(to_currency.strip())
- q = (from_currency + to_currency).upper()
-
params['url'] = url.format(from_currency, to_currency)
params['amount'] = amount
params['from'] = from_currency