seitime-frappe/frappe/patches/v6_0/make_task_log_folder.py
2015-07-27 18:22:50 +05:30

6 lines
138 B
Python

import frappe.utils, os
def execute():
path = frappe.utils.get_site_path('task-logs')
if not os.path.exists(path):
os.makedirs(path)