diff options
| author | Christophe Simonis <chs@odoo.com> | 2014-05-27 18:46:18 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2014-05-27 18:46:18 +0200 |
| commit | 045285123f2551ca74753260fcf807af4bc413d0 (patch) | |
| tree | 6f0531ddd86cce5bca1bed57cf003e867799278f /addons | |
| parent | fd21abd8478fb856688d45ebe88c8d726646f420 (diff) | |
[FIX] website: correct bad code indentation introduced during previous commit
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/website/models/ir_http.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/website/models/ir_http.py b/addons/website/models/ir_http.py index d348d171076..a8f63a1cf9e 100644 --- a/addons/website/models/ir_http.py +++ b/addons/website/models/ir_http.py @@ -130,9 +130,9 @@ class ir_http(orm.AbstractModel): return super(ir_http, self)._handle_exception(exception) except Exception: - attach = self._serve_attachment() - if attach: - return attach + attach = self._serve_attachment() + if attach: + return attach if getattr(request, 'website_enabled', False) and request.website: values = dict( |
