From f7e77fd73923a4db9fa805e8a4fa4af2e7cb2dec Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Fri, 16 Apr 2021 09:30:11 -0500 Subject: [PATCH] fixes #190 - need to set file number to 1 --- resources/lib/backup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/lib/backup.py b/resources/lib/backup.py index 4c95651..92d5773 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -276,6 +276,8 @@ class XbmcBackup: if(restartXbmc): # add only this file to the file list + self.transferSize = 1 + self.transferLeft = 1 fileManager.addFile(self.remote_vfs.root_path + "config/advancedsettings.xml") self._copyFiles(fileManager.getFiles(), self.remote_vfs, self.xbmc_vfs)