summaryrefslogtreecommitdiff
path: root/addons/google_account/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/google_account/controllers/main.py')
-rw-r--r--addons/google_account/controllers/main.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/google_account/controllers/main.py b/addons/google_account/controllers/main.py
index 40843b6f4ba..2a3a4ae586f 100644
--- a/addons/google_account/controllers/main.py
+++ b/addons/google_account/controllers/main.py
@@ -1,8 +1,8 @@
import simplejson
import urllib
import openerp
-import openerp.addons.web.http as http
-from openerp.addons.web.http import request
+from openerp import http
+from openerp.http import request
import openerp.addons.web.controllers.main as webmain
from openerp.addons.web.http import SessionExpiredException
from werkzeug.exceptions import BadRequest
@@ -27,6 +27,6 @@ class google_auth(http.Controller):
elif kw.get('error'):
return werkzeug.utils.redirect("%s%s%s" % (url_return ,"?error=" , kw.get('error')))
else:
- return werkzeug.utils.redirect("%s%s%s" % (url_return ,"?error=Unknown_error"))
+ return werkzeug.utils.redirect("%s%s" % (url_return ,"?error=Unknown_error"))