Update app.py
Browse files
app.py
CHANGED
|
@@ -339,7 +339,7 @@ def get_checkout_bubble(checkout_list: list):
|
|
| 339 |
checkout_total = 0.0
|
| 340 |
checkout_contents = []
|
| 341 |
checkout_items = {key: value for key, value in message_list.items() if not value.get("quoted_msg_id")}
|
| 342 |
-
for _, value in checkout_items.items:
|
| 343 |
msg_text = value.get("msg_text")
|
| 344 |
amount = round(float(value.get("amount")), 2)
|
| 345 |
checkout_total += amount
|
|
|
|
| 339 |
checkout_total = 0.0
|
| 340 |
checkout_contents = []
|
| 341 |
checkout_items = {key: value for key, value in message_list.items() if not value.get("quoted_msg_id")}
|
| 342 |
+
for _, value in checkout_items.items():
|
| 343 |
msg_text = value.get("msg_text")
|
| 344 |
amount = round(float(value.get("amount")), 2)
|
| 345 |
checkout_total += amount
|