diff options
author | stepshal <nessento@openmailbox.org> | 2016-07-11 20:29:47 +0700 |
---|---|---|
committer | stepshal <nessento@openmailbox.org> | 2016-07-11 23:53:13 +0700 |
commit | b3ab221b9808ba2b7b01d417210af9b9527e661c (patch) | |
tree | 6ee035fb32906228376d9473e8524e8ed2be745a /searx/engines/currency_convert.py | |
parent | 3fd405dcd3fd46d5b6f2fe1df625eedf0f1fbe02 (diff) | |
download | searxng-b3ab221b9808ba2b7b01d417210af9b9527e661c.tar.gz searxng-b3ab221b9808ba2b7b01d417210af9b9527e661c.zip |
Fix anomalous backslash in string
Diffstat (limited to 'searx/engines/currency_convert.py')
-rw-r--r-- | searx/engines/currency_convert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/currency_convert.py b/searx/engines/currency_convert.py index b0ffb490a..bc839cfb5 100644 --- a/searx/engines/currency_convert.py +++ b/searx/engines/currency_convert.py @@ -9,7 +9,7 @@ categories = [] url = 'https://download.finance.yahoo.com/d/quotes.csv?e=.csv&f=sl1d1t1&s={query}=X' weight = 100 -parser_re = re.compile(u'.*?(\d+(?:\.\d+)?) ([^.0-9]+) (?:in|to) ([^.0-9]+)', re.I) # noqa +parser_re = re.compile(u'.*?(\\d+(?:\\.\\d+)?) ([^.0-9]+) (?:in|to) ([^.0-9]+)', re.I) # noqa db = 1 |