Update oauth20_account.py
Adding python 2/3 compatibility.
This commit is contained in:
1 parent
9e6cef56ba
commit
e8d56bbba9
1 file changed
+3
-2
@@ -13,9 +13,10 @@ OAuth 2.0 spec: http://tools.ietf.org/html/rfc6749
|
||||
|
||||
import time
|
||||
import cgi
|
||||
import urllib2
|
||||
|
||||
from urllib import urlencode
|
||||
from gluon._compat import urllib2
|
||||
from gluon._compat import urlencode
|
||||
|
||||
from gluon import current, redirect, HTTP
|
||||
|
||||
import json
|
||||
|
||||
Reference in new issue
Block a user