Change the URL of the exchange API. Fixes #735 (#736)

This commit is contained in:
Alexis Metaireau 2021-04-07 15:29:33 +02:00 committed by GitHub
parent 3ae54c13f9
commit c23145ce2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ class Singleton(type):
class CurrencyConverter(object, metaclass=Singleton): class CurrencyConverter(object, metaclass=Singleton):
# Get exchange rates # Get exchange rates
no_currency = "XXX" no_currency = "XXX"
api_url = "https://api.exchangeratesapi.io/latest?base=USD" api_url = "https://api.exchangerate.host/latest?base=USD"
def __init__(self): def __init__(self):
pass pass