From a284451640f7c921c50b2cc27427bbb6352dba18 Mon Sep 17 00:00:00 2001 From: robweber Date: Sun, 7 Mar 2021 14:30:17 -0600 Subject: [PATCH] part of #186 --- resources/lib/backup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/lib/backup.py b/resources/lib/backup.py index 71ebf90..4c95651 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -57,16 +57,15 @@ class XbmcBackup: def configureRemote(self): if(utils.getSetting('remote_selection') == '1'): - self.remote_base_path = utils.getSetting('remote_path_2') self.remote_vfs = XBMCFileSystem(utils.getSetting('remote_path_2')) utils.setSetting("remote_path", "") elif(utils.getSetting('remote_selection') == '0'): - self.remote_base_path = utils.getSetting('remote_path') self.remote_vfs = XBMCFileSystem(utils.getSetting("remote_path")) elif(utils.getSetting('remote_selection') == '2'): - self.remote_base_path = "/" self.remote_vfs = DropboxFileSystem("/") + self.remote_base_path = self.remote_vfs.root_path + def remoteConfigured(self): result = True