From 517149a796053ed1f1af1136796e0f5607d903c5 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 27 Jul 2011 13:52:08 +0530 Subject: [PATCH] backup fix --- cgi-bin/webnotes/utils/backups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi-bin/webnotes/utils/backups.py b/cgi-bin/webnotes/utils/backups.py index d69c9a00e1..b78d75c621 100644 --- a/cgi-bin/webnotes/utils/backups.py +++ b/cgi-bin/webnotes/utils/backups.py @@ -137,7 +137,7 @@ def delete_temp_backups(): """ file_list = os.listdir(backup_link_path) for this_file in file_list: - this_file_path = backup_link_path + this_file + this_file_path = os.path.join(backup_link_path, this_file) if is_file_old(this_file_path): os.remove(this_file_path)