Fixed version conflict

This commit is contained in:
Nabin Hait 2016-09-23 17:22:09 +05:30
commit 2a2173033a
2 changed files with 6 additions and 1 deletions

View file

@ -114,7 +114,7 @@ execute:frappe.permissions.reset_perms("Web Page")
frappe.patches.v6_6.user_last_active
frappe.patches.v6_6.fix_file_url
frappe.patches.v6_11.rename_field_in_email_account
execute:frappe.create_folder(os.path.join(frappe.local.site_path, 'private', 'files'))
frappe.patches.v7_0.create_private_file_folder
frappe.patches.v6_15.remove_property_setter_for_previous_field #2015-12-29
frappe.patches.v6_15.set_username
execute:frappe.permissions.reset_perms("Error Snapshot")

View file

@ -0,0 +1,5 @@
import frappe, os
def execute():
if not os.path.exists(os.path.join(frappe.local.site_path, 'private', 'files')):
frappe.create_folder(os.path.join(frappe.local.site_path, 'private', 'files'))