From 4c99f4334042c563ca68e849c76bec496ae16175 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Tue, 6 Jul 2021 08:48:05 -0500 Subject: [PATCH] fix yesno() function params --- default.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/default.py b/default.py index 8fb563d..3ad6fdd 100644 --- a/default.py +++ b/default.py @@ -14,7 +14,7 @@ LAUNCHER = 4 def authorize_cloud(cloudProvider): - # drobpox + # dropbox if(cloudProvider == 'dropbox'): authorizer = DropboxAuthorizer() @@ -26,7 +26,7 @@ def authorize_cloud(cloudProvider): def remove_auth(): # triggered from settings.xml - asks if user wants to delete OAuth token information - shouldDelete = xbmcgui.Dialog().yesno(utils.getString(30093), utils.getString(30094), utils.getString(30095), autoclose=7000) + shouldDelete = xbmcgui.Dialog().yesno(utils.getString(30093), '%s\n%s' % (utils.getString(30094), utils.getString(30095)), autoclose=7000) if(shouldDelete): # delete any of the known token file types @@ -77,7 +77,6 @@ if(mode == -1): # check if program should be run if(mode != -1): - # run the profile backup backup = XbmcBackup() if(mode == SETTINGS): @@ -101,7 +100,6 @@ if(mode != -1): editor.copySimpleConfig() elif(backup.remoteConfigured()): - # if mode was RESTORE if(mode == RESTORE): # get list of valid restore points