Skip to content

Commit 2ba6b09

Browse files
committed
Update bot-with-card-example-flask.py
Use of f-strings means this example will only work with Python versions 3.6+
1 parent c7721fa commit 2ba6b09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# -*- coding: utf-8 -*-
33
"""A simple bot script, built on Flask, that demonstrates posting a
44
card, and handling the events generated when a user hits the Submit button.
@@ -29,7 +29,7 @@
2929
to a user submitting a form, the details of that response will be posted in
3030
the space.
3131
32-
This script should support Python versions 3 only.
32+
This script should support Python versions 3.6+ only.
3333
3434
Copyright (c) 2016-2020 Cisco and/or its affiliates.
3535

0 commit comments

Comments
 (0)