[CLEAN] Use none or false, but not both on two lines ...

This commit is contained in:
--global 2014-05-22 15:40:29 +02:00
parent 15e874b5c8
commit 13ac3865d5
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class website_sale(http.Controller):
# must have a draft sale order with lines at this point, otherwise reset
if not order or order.state != 'draft':
request.session['sale_order_id'] = None
request.session['sale_transaction_id'] = False
request.session['sale_transaction_id'] = None
return request.redirect('/shop')
# if transaction pending / done: redirect to confirmation