From 7cf01e7c75e4e8d28e4f3f7e71f670b9dd0a6534 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Tue, 5 Jun 2018 10:30:20 +0530 Subject: [PATCH] Replaced fixer api with exchangeratesapi (#14347) --- erpnext/setup/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/setup/utils.py b/erpnext/setup/utils.py index 5fcc3a2c68..4f62815f90 100644 --- a/erpnext/setup/utils.py +++ b/erpnext/setup/utils.py @@ -95,7 +95,7 @@ def get_exchange_rate(from_currency, to_currency, transaction_date=None): if not value: import requests - api_url = "http://api.fixer.io/{0}".format(transaction_date) + api_url = "https://exchangeratesapi.io/api/{0}".format(transaction_date) response = requests.get(api_url, params={ "base": from_currency, "symbols": to_currency