Improved example code
Fixed bug in example code
This commit is contained in:
parent
8037487165
commit
ccb6cd6aef
1 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,8 @@ A Simple Example
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def hello():
|
def hello():
|
||||||
return "Hello, World!"
|
return "Hello, World!"
|
||||||
|
if __name__ == "__main__":
|
||||||
|
app.run()
|
||||||
|
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue