get standard chart of account if country code not found
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py b/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py
index a2995c9..a27d739 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py
@@ -85,11 +85,12 @@
 				charts.append(content["name"])
 
 	country_code = frappe.db.get_value("Country", country, "code")
-	path = os.path.join(os.path.dirname(__file__), "verified")
-	for fname in os.listdir(path):
-		if fname.startswith(country_code) and fname.endswith(".json"):
-			with open(os.path.join(path, fname), "r") as f:
-				_get_chart_name(f.read())
+	if country_code:
+		path = os.path.join(os.path.dirname(__file__), "verified")
+		for fname in os.listdir(path):
+			if fname.startswith(country_code) and fname.endswith(".json"):
+				with open(os.path.join(path, fname), "r") as f:
+					_get_chart_name(f.read())
 
 	countries_use_OHADA_system = ["Benin", "Burkina Faso", "Cameroon", "Central African Republic", "Comoros",
 		"Congo", "Ivory Coast", "Gabon", "Guinea", "Guinea Bissau", "Equatorial Guinea", "Mali", "Niger",