summaryrefslogtreecommitdiff
path: root/searx/engines/currency_convert.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-11-16 09:43:23 +0100
committerAlexandre Flament <alex@al-f.net>2020-12-01 15:21:19 +0100
commitb00d108673082fc2487b2d122db00d988f561427 (patch)
tree51b5324935f24864730d705efd9f4f6a9dea465f /searx/engines/currency_convert.py
parent9ed3ee2bebf2f159d4231d9aad9df53aea6db90a (diff)
[mod] pylint: numerous minor code fixes
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