Skip to content

Commit

Permalink
Compatibility with Tornado 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
btoueg committed Aug 3, 2014
1 parent d77ba69 commit 34bce47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flower/views/auth.py
Expand Up @@ -7,7 +7,6 @@
from urllib import urlencode

import re
import functools
import tornado.web
import tornado.auth
from tornado import httpclient
Expand All @@ -31,7 +30,7 @@ def get(self):
self.get_authenticated_user(
redirect_uri=self.settings[self._OAUTH_SETTINGS_KEY]['redirect_uri'],
code=self.get_argument('code'),
callback=functools.partial(self._on_auth),
callback=self._on_auth,
)
else:
self.authorize_redirect(
Expand Down

0 comments on commit 34bce47

Please sign in to comment.