diff --git a/changelog.txt b/changelog.txt index bcf65ae..40e26ba 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,9 +1,11 @@ [b]Version 0.0.2[/b] - - First version, should backup directories as needed [b]Version 0.0.3[/b] -Added progress bar and "silent" option for running on startup or as a script \ No newline at end of file +Added progress bar and "silent" option for running on startup or as a script + +[b]Version 0.0.4[/b] + +Finished code for restore mode. diff --git a/default.py b/default.py index 5203c41..690858b 100644 --- a/default.py +++ b/default.py @@ -163,7 +163,7 @@ class XbmcBackup: #update the progress bar if(self.progressBar != None): - self.progressBar.update((float(self.filesTotal - self.filesLeft)/float(self.filesTotal)) * 100,message) + self.progressBar.update(int((float(self.filesTotal - self.filesLeft)/float(self.filesTotal)) * 100),message) def checkCancel(self): result = False diff --git a/resources/settings.xml b/resources/settings.xml index acc9813..353ac50 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -1,9 +1,9 @@ + -