From aea7a0f34fae7a3de6998739aee446c4aa32604c Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 1 May 2012 01:03:23 +0530 Subject: [PATCH] fixes in backup --- py/webnotes/utils/backups.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/py/webnotes/utils/backups.py b/py/webnotes/utils/backups.py index fa619c1164..cabc3a5f71 100644 --- a/py/webnotes/utils/backups.py +++ b/py/webnotes/utils/backups.py @@ -35,7 +35,9 @@ from datetime import datetime #Global constants import conf -from conf import backup_path, backup_link_path +from conf import backup_path +subdomain = webnotes.conn.get_value('Website Settings', 'Website Settings', 'subdomain') +backup_link_path = "/".join('http:/', subdomain, 'backups') verbose = 0 #-------------------------------------------------------------------------------