added message to create Dropbox key/secret

This commit is contained in:
Rob Weber
2012-12-30 15:18:59 -06:00
parent 361be97e34
commit e582be4c7b
2 changed files with 6 additions and 0 deletions

View File

@ -64,6 +64,10 @@ class DropboxFileSystem(Vfs):
client = None
def __init__(self):
if(APP_KEY == '' or APP_SECRET == ''):
xbmcgui.Dialog().ok(utils.getString(30010),utils.getString(30058),utils.getString(30059))
return
user_token_key,user_token_secret = self.getToken()
sess = session.DropboxSession(APP_KEY,APP_SECRET,"app_folder")