* fix(unicode): Import unicode_literals in every file * fix(unicode): Test if safe_json_loads return unicode instead of bytes
6 lines
No EOL
236 B
Python
6 lines
No EOL
236 B
Python
from __future__ import unicode_literals
|
|
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')) |