Skip to content

Commit

Permalink
using directly the refresh function from sanction
Browse files Browse the repository at this point in the history
  • Loading branch information
ebiiii committed Oct 4, 2016
1 parent 4328400 commit 556a733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gsn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def refresh_token(self):
"""
assert hasattr(self.client, 'refresh_token')

self.client.request_token(grant_type='refresh_token')
self.client.refresh()

self.expiration = time.time() + self.client.expires_in

Expand Down

0 comments on commit 556a733

Please sign in to comment.