changed the exchange rate a lil

This commit is contained in:
Lynne Megido 2020-08-22 19:33:31 +10:00
parent 42eecc28cc
commit 97943aa595
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90

View file

@ -10,7 +10,7 @@ def get_exchange_rate():
assert False assert False
return requests.get("https://api.exchangeratesapi.io/latest?base=AUD&symbols=JPY", timeout=10).json()['rates']['JPY'] return requests.get("https://api.exchangeratesapi.io/latest?base=AUD&symbols=JPY", timeout=10).json()['rates']['JPY']
except: except:
return 76.15 return 75.73
def id_from_url(url: str): def id_from_url(url: str):
try: try: