This commit is contained in:
Rob Weber 2019-02-04 11:57:36 -06:00
parent c0d3b01ade
commit 85306f9469

View File

@ -177,10 +177,13 @@ class AdvancedBackupEditor:
def copySimpleConfig(self):
#disclaimer in case the user hit this on accident
shouldContinue = self.dialog.yesno('Copy Config','This will copy the current Simple file selection to the Advanced Editor','This will erase any current Advanced Editor settings')
shouldContinue = self.dialog.yesno('Copy Config','This will copy the default Simple file selection to the Advanced Editor','This will erase any current Advanced Editor settings')
if(shouldContinue):
source = xbmc.translatePath(utils.addon_dir() + "/resources/data/default_files.json")
dest = xbmc.translatePath(utils.data_dir() + "/custom_paths.json")
xbmcvfs.copy(source,dest)