From 4370aede981c3c32ae8a95cfbb038e452d8facef Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Thu, 6 Mar 2014 10:42:24 +0530 Subject: [PATCH] fix private backup path in patch --- frappe/patches/4_0/private_backups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/patches/4_0/private_backups.py b/frappe/patches/4_0/private_backups.py index c4526072a9..f82209c31e 100644 --- a/frappe/patches/4_0/private_backups.py +++ b/frappe/patches/4_0/private_backups.py @@ -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"