Change the URL of the exchange API. Fixes #735

This commit is contained in:
Alexis Métaireau 2021-04-07 15:24:09 +02:00
parent 3ae54c13f9
commit a7fe9f08d7

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