mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +00:00
style: use f-string
This commit is contained in:
@@ -422,7 +422,7 @@ def get_name_with_abbr(name, company):
|
|||||||
|
|
||||||
def install_country_fixtures(company, country):
|
def install_country_fixtures(company, country):
|
||||||
try:
|
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)
|
frappe.get_attr(module_name)(company, False)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user