diff --git a/frappe/__version__.py b/frappe/__version__.py index 0139b2ebd5..7332367ed5 100644 --- a/frappe/__version__.py +++ b/frappe/__version__.py @@ -1 +1 @@ -__version__ = "4.9.1" +__version__ = "4.9.2" diff --git a/frappe/country_info.json b/frappe/country_info.json index 1624f330f4..292573c686 100644 --- a/frappe/country_info.json +++ b/frappe/country_info.json @@ -1946,9 +1946,11 @@ }, "Romania": { "code": "ro", - "currency_fraction": "Ban", + "currency": "RON", + "currency_fraction": "Bani", "currency_fraction_units": 100, - "currency_symbol": "L", + "currency_name": "Romanian New Leu", + "currency_symbol": "lei", "number_format": "#,###.##", "timezones": [ "Europe/Bucharest" diff --git a/frappe/hooks.py b/frappe/hooks.py index 65ef10bc7c..a73108a7c3 100644 --- a/frappe/hooks.py +++ b/frappe/hooks.py @@ -3,7 +3,7 @@ app_title = "Frappe Framework" app_publisher = "Web Notes Technologies Pvt. Ltd." app_description = "Full Stack Web Application Framework in Python" app_icon = "assets/frappe/images/frappe.svg" -app_version = "4.9.1" +app_version = "4.9.2" app_color = "#3498db" app_email = "support@frappe.io" diff --git a/frappe/utils/file_manager.py b/frappe/utils/file_manager.py index 0da0052a67..4b296fcb14 100644 --- a/frappe/utils/file_manager.py +++ b/frappe/utils/file_manager.py @@ -251,7 +251,7 @@ def get_content_hash(content): def get_file_name(fname, optional_suffix): n_records = frappe.db.sql("select name from `tabFile Data` where file_name=%s", fname) - if len(n_records) > 0 or os.path.exists(get_files_path(fname.encode('utf-8'))): + if len(n_records) > 0 or os.path.exists(get_files_path(fname).encode('utf-8')): f = fname.rsplit('.', 1) if len(f) == 1: partial, extn = f[0], "" diff --git a/setup.py b/setup.py index 4874708752..80b622a88e 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages import os -version = "4.9.1" +version = "4.9.2" with open("requirements.txt", "r") as f: install_requires = f.readlines()