From 402964c144709396253465bbfe3fa0e589c69ac2 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Tue, 28 Aug 2012 19:15:34 -0500 Subject: [PATCH] fixes #11 --- default.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/default.py b/default.py index bf88686..7c82791 100644 --- a/default.py +++ b/default.py @@ -110,8 +110,7 @@ class XbmcBackup: #append backup folder name if(int(self.addon.getSetting('addon_mode')) == 0 and self.remote_path != ''): - date_today = time.localtime(time.time()) - self.remote_path = self.remote_path + str(date_today[1]) + str(date_today[2]) + str(date_today[0]) + "/" + self.remote_path = self.remote_path + time.strftime("%Y%m%d") + "/" elif(int(self.addon.getSetting('addon_mode')) == 1 and self.addon.getSetting("backup_name") != '' and self.remote_path != ''): self.remote_path = self.remote_path + self.addon.getSetting("backup_name") + "/" else: