update getSetting calls to get ints and bools where needed

This commit is contained in:
Rob Weber
2019-11-27 14:19:41 -06:00
parent 8c4465f552
commit 5ee610a586
4 changed files with 26 additions and 26 deletions

View File

@@ -15,9 +15,9 @@ class BackupProgressBar:
self.override = progressOverride
# check if we should use the progress bar
if(int(utils.getSetting('progress_mode')) != 2):
if(utils.getSettingInt('progress_mode') != 2):
# check if background or normal
if(int(utils.getSetting('progress_mode')) == 0 and not self.override):
if(utils.getSettingInt('progress_mode') == 0 and not self.override):
self.mode = self.DIALOG
self.progressBar = xbmcgui.DialogProgress()
else: