[FIX] website: correct bad code indentation introduced during previous commit

This commit is contained in:
Christophe Simonis 2014-05-27 18:46:18 +02:00
parent fd21abd847
commit 045285123f
1 changed files with 3 additions and 3 deletions

View File

@ -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(