fixes #190 - need to set file number to 1

This commit is contained in:
Rob Weber 2021-04-16 09:30:11 -05:00
parent 382dbce4ac
commit f7e77fd739

View File

@ -276,6 +276,8 @@ class XbmcBackup:
if(restartXbmc): if(restartXbmc):
# add only this file to the file list # add only this file to the file list
self.transferSize = 1
self.transferLeft = 1
fileManager.addFile(self.remote_vfs.root_path + "config/advancedsettings.xml") fileManager.addFile(self.remote_vfs.root_path + "config/advancedsettings.xml")
self._copyFiles(fileManager.getFiles(), self.remote_vfs, self.xbmc_vfs) self._copyFiles(fileManager.getFiles(), self.remote_vfs, self.xbmc_vfs)