From 89368ece4120411af5dd6cace9128e42cfd51f13 Mon Sep 17 00:00:00 2001 From: Sagar Vora Date: Wed, 2 Mar 2022 12:40:25 +0530 Subject: [PATCH] style: use f-string --- erpnext/setup/doctype/company/company.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/setup/doctype/company/company.py b/erpnext/setup/doctype/company/company.py index 158952484c..36ad8fec9f 100644 --- a/erpnext/setup/doctype/company/company.py +++ b/erpnext/setup/doctype/company/company.py @@ -422,7 +422,7 @@ def get_name_with_abbr(name, company): def install_country_fixtures(company, country): try: - module_name = "erpnext.regional.{0}.setup.setup".format(frappe.scrub(country)) + module_name = f"erpnext.regional.{frappe.scrub(country)}.setup.setup" frappe.get_attr(module_name)(company, False) except ImportError: pass