mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
TWBlue can authorise a dropbox account again
This commit is contained in:
parent
f8c2ac7468
commit
5a1fd9bb75
@ -47,7 +47,7 @@ class dropboxLogin(object):
|
|||||||
|
|
||||||
def get_url(self):
|
def get_url(self):
|
||||||
log.debug("Getting autorisation URL...")
|
log.debug("Getting autorisation URL...")
|
||||||
self.flow = dropbox.client.DropboxOAuth2FlowNoRedirect(keyring.get("dropbox_app_key"), keyring.get("dropbox_app_secret"))
|
self.flow = dropbox.client.DropboxOAuth2FlowNoRedirect(keyring.get("dropbox_api_key"), keyring.get("dropbox_api_secret"))
|
||||||
return self.flow.start()
|
return self.flow.start()
|
||||||
|
|
||||||
def authorise(self, code):
|
def authorise(self, code):
|
||||||
|
Loading…
Reference in New Issue
Block a user