pyflakes
This commit is contained in:
parent
8638181433
commit
a39302dfad
3
cart.py
3
cart.py
|
@ -228,7 +228,6 @@ def confirm(lang):
|
|||
|
||||
return redirect(url_for('sale.sale', lang=g.language, id=sale.id))
|
||||
|
||||
|
||||
@cart.route("/add/", methods=["POST"], endpoint="add")
|
||||
@tryton.transaction()
|
||||
def add(lang):
|
||||
|
@ -283,7 +282,7 @@ def add(lang):
|
|||
# reset dict
|
||||
vals = values.copy()
|
||||
values = {}
|
||||
|
||||
|
||||
for k, v in vals.items():
|
||||
for product in products:
|
||||
if product['code'] == k:
|
||||
|
|
Loading…
Reference in New Issue