mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-12-22 14:05:23 +01:00
closes #132
This commit is contained in:
parent
c0d3b01ade
commit
85306f9469
@ -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)
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user