Update app.py
Browse files
app.py
CHANGED
|
@@ -144,8 +144,11 @@ def api():
|
|
| 144 |
except Exception as e:
|
| 145 |
print(f"An error occurred: {e}")
|
| 146 |
|
| 147 |
-
print(
|
| 148 |
-
|
|
|
|
|
|
|
|
|
|
| 149 |
return "", 200
|
| 150 |
|
| 151 |
|
|
@@ -364,7 +367,7 @@ def get_checkout_bubble(checkout_list: list):
|
|
| 364 |
"size": "sm",
|
| 365 |
"color": "#111111",
|
| 366 |
"align": "end"
|
| 367 |
-
|
| 368 |
],
|
| 369 |
"margin": "sm"
|
| 370 |
})
|
|
@@ -373,7 +376,7 @@ def get_checkout_bubble(checkout_list: list):
|
|
| 373 |
"type": "bubble",
|
| 374 |
"body": {
|
| 375 |
"type": "box",
|
| 376 |
-
"layout": "
|
| 377 |
"contents": [
|
| 378 |
{
|
| 379 |
"type": "text",
|
|
|
|
| 144 |
except Exception as e:
|
| 145 |
print(f"An error occurred: {e}")
|
| 146 |
|
| 147 |
+
print("="*20)
|
| 148 |
+
for item in message_list:
|
| 149 |
+
print(item)
|
| 150 |
+
print("="*20, end="\n\n")
|
| 151 |
+
|
| 152 |
return "", 200
|
| 153 |
|
| 154 |
|
|
|
|
| 367 |
"size": "sm",
|
| 368 |
"color": "#111111",
|
| 369 |
"align": "end"
|
| 370 |
+
}
|
| 371 |
],
|
| 372 |
"margin": "sm"
|
| 373 |
})
|
|
|
|
| 376 |
"type": "bubble",
|
| 377 |
"body": {
|
| 378 |
"type": "box",
|
| 379 |
+
"layout": "vertical",
|
| 380 |
"contents": [
|
| 381 |
{
|
| 382 |
"type": "text",
|