fix private backup path in patch

This commit is contained in:
Pratik Vyas 2014-03-06 10:42:24 +05:30
parent 8c0e8fc696
commit 4370aede98

View file

@ -7,5 +7,5 @@ from frappe.installer import make_site_dirs
def execute():
make_site_dirs()
if frappe.local.conf.backup and frappe.local.conf.backup.startswith("public"):
if frappe.local.conf.backup_path and frappe.local.conf.backup_path.startswith("public"):
raise Exception, "Backups path in conf set to public directory"