Fix refresh token

This commit is contained in:
2019-09-28 23:11:50 +01:00
parent 9aa306d2c5
commit 115b235256

View File

@@ -29,7 +29,7 @@ def init_oauth():
client_secret=client_secret, client_secret=client_secret,
store_tokens=store_tokens, store_tokens=store_tokens,
access_token=tokens['access_token'], access_token=tokens['access_token'],
refresh_token=tokens['access_token'] refresh_token=tokens['refresh_token']
) )
except Exception as e: except Exception as e:
logging.debug('Fail to load OAuth2 token file', e) logging.debug('Fail to load OAuth2 token file', e)