From 865ff557bdefebb4769a03073620283454a6636a Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 26 Feb 2018 22:23:29 +0100 Subject: [PATCH] add some empty lines for readability --- django/didgeridoo/webshop/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/django/didgeridoo/webshop/views.py b/django/didgeridoo/webshop/views.py index eb8eb98..3f91c41 100644 --- a/django/didgeridoo/webshop/views.py +++ b/django/didgeridoo/webshop/views.py @@ -374,10 +374,12 @@ def checkout(request): cart_position.calculate_position_price() totalprice_list.append(cart_position.position_price) cart_position_list[idx] = cart_position + else: message = """something whent wrong. Seams like your cart was not existent before. How come? """ + total = sum(totalprice_list) return render(request, 'webshop/checkout.html',