Skip to content

Commit c0cdea6

Browse files
committed
Update bot-with-card-example-flask.py
Flask catches the CTR+C interrupt.
1 parent b090b40 commit c0cdea6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/bot-with-card-example-flask.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,6 @@ def main():
325325
# Start the Flask web server
326326
flask_app.run(host="0.0.0.0", port=port)
327327

328-
except KeyboardInterrupt:
329-
print("You pressed Ctrl+C! Shutting down.")
330-
331328
finally:
332329
print("Cleaning up webhooks...")
333330
delete_webhooks_with_name()

0 commit comments

Comments
 (0)