* fix(unicode): Import unicode_literals in every file * fix(unicode): Test if safe_json_loads return unicode instead of bytes
7 lines
178 B
Python
7 lines
178 B
Python
from __future__ import unicode_literals
|
|
import frappe.utils, os
|
|
|
|
def execute():
|
|
path = frappe.utils.get_site_path('task-logs')
|
|
if not os.path.exists(path):
|
|
os.makedirs(path)
|