From 5c3b69476d5d842d8dbd191edaae67f810ff9738 Mon Sep 17 00:00:00 2001 From: Ameya Shenoy Date: Fri, 13 Jul 2018 12:46:07 +0530 Subject: [PATCH] shift to self-hosted frankfurter api (#14792) --- 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 4f62815f90f..f318c042d52 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 = "https://exchangeratesapi.io/api/{0}".format(transaction_date) + api_url = "https://frankfurter.erpnext.org/{0}".format(transaction_date) response = requests.get(api_url, params={ "base": from_currency, "symbols": to_currency