Started implementing PIN for OAuth... entry doesn't show up in popup

This commit is contained in:
Anna 2010-05-20 18:03:35 -04:00
parent 4443d9d12c
commit 716e20a9b2
3 changed files with 32 additions and 10 deletions

View file

@ -536,7 +536,10 @@ class Hrafn():
def on_file_add_account(self, widget):
token = apithreads.get_access_token()
token = apithreads.get_access_token(self.window)
if token is None:
return
api = apithreads.CustomApi(token)
username = api.username