diff --git a/addons/auth_oauth/controllers/main.py b/addons/auth_oauth/controllers/main.py index d00e02915aa..38c7ca872de 100644 --- a/addons/auth_oauth/controllers/main.py +++ b/addons/auth_oauth/controllers/main.py @@ -12,7 +12,7 @@ from werkzeug.exceptions import BadRequest from odoo import api, http, SUPERUSER_ID, _ from odoo.exceptions import AccessDenied -from odoo.http import request +from odoo.http import request, Response from odoo import registry as registry_get from odoo.addons.auth_signup.controllers.main import AuthSignupHome as Home @@ -30,7 +30,7 @@ def fragment_to_query_string(func): def wrapper(self, *a, **kw): kw.pop('debug', False) if not kw: - return """""" + """) return func(self, *a, **kw) return wrapper