From f3f56f6dc99ec63fa5bfe5c7bfc6f729e64c5bd1 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Mon, 24 Aug 2015 11:21:20 +0200 Subject: [PATCH] [FIX] web: typo introduced by 6baf611df1064a3ae5f6368d3a35b3c3d7779543 --- addons/web/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 41698b725ef..bdb5b636f1c 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -467,7 +467,7 @@ def binary_content(xmlid=None, model='ir.attachment', id=None, field='datas', un # check read access try: last_update = obj['__last_update'] - except AccesError, e: + except AccessError: return (403, [], None) status = 200