summaryrefslogtreecommitdiff
path: root/addons/auth_openid/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/auth_openid/controllers/main.py')
-rw-r--r--addons/auth_openid/controllers/main.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/auth_openid/controllers/main.py b/addons/auth_openid/controllers/main.py
index c95189b7736..af30566a643 100644
--- a/addons/auth_openid/controllers/main.py
+++ b/addons/auth_openid/controllers/main.py
@@ -28,7 +28,10 @@ import werkzeug.urls
import werkzeug.exceptions
from openerp.modules.registry import RegistryManager
-import web.common.http as openerpweb
+try:
+ import openerp.addons.web.common.http as openerpweb
+except ImportError:
+ import web.common.http as openerpweb
from openid import oidutil
from openid.store import memstore