fix: create sites/{site}/logs folder

This commit is contained in:
Gavin D'souza 2020-05-05 18:59:38 +05:30
parent 627940c56b
commit ca70bd364c

View file

@ -269,6 +269,7 @@ def make_site_dirs():
os.path.join(site_private_path, 'backups'),
os.path.join(site_public_path, 'files'),
os.path.join(site_private_path, 'files'),
os.path.join(frappe.local.site_path, 'logs'),
os.path.join(frappe.local.site_path, 'task-logs')):
if not os.path.exists(dir_path):
os.makedirs(dir_path)