From da9bbf8f096669b760394b4e4a7b0f64f5e0b260 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 29 Dec 2014 12:17:30 +0530 Subject: [PATCH 1/3] [fix] [file manager] unicode issue in get_file_name() --- frappe/utils/file_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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], "" From f13b45a89d5e3450430205ada555f8c4e556969b Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 29 Dec 2014 12:35:53 +0530 Subject: [PATCH 2/3] [minor] Added currency RON - Romanian New Leu --- frappe/country_info.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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" From da7b5d157fcbf192412e0aa277f860df9b0bc603 Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Wed, 31 Dec 2014 13:10:01 +0600 Subject: [PATCH 3/3] bumped to version 4.9.2 --- frappe/__version__.py | 2 +- frappe/hooks.py | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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/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/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()