added initial resources for scheduler.py to function

starte settings.xml modifications for timer intervals
This commit is contained in:
robweber
2012-09-05 15:50:25 -05:00
parent 0150e6a277
commit 0bb915ae3a
7 changed files with 795 additions and 2 deletions

View File

@ -97,8 +97,11 @@ class XbmcBackup:
elif(utils.getSetting('remote_selection') == '0'):
self.remote_path = utils.getSetting("remote_path")
#fix slashes
self.remote_path = self.remote_path.replace("\\","/")
#check if trailing slash is included
if(self.remote_path[-1:] != "/" and self.remote_path[-1:] != "\\"):
if(self.remote_path[-1:] != "/"):
self.remote_path = self.remote_path + "/"
utils.log(utils.getString(30046))