diff options
author | Blaise Thompson <blaise@untzag.com> | 2020-03-22 17:04:43 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2020-03-22 17:04:43 -0500 |
commit | 66d05cb7d012843a6dec0ea72d9af720ac650151 (patch) | |
tree | 87399109e5113f465cd9970e848bc06611215976 /shopdb/app/__init__.py | |
parent | bf06052842c23078fb126c6e06f24f0451936e92 (diff) |
Diffstat (limited to 'shopdb/app/__init__.py')
-rw-r--r-- | shopdb/app/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shopdb/app/__init__.py b/shopdb/app/__init__.py index e5ac40c..a5bed18 100644 --- a/shopdb/app/__init__.py +++ b/shopdb/app/__init__.py @@ -38,4 +38,5 @@ def inventory(): return render_template("inventory.html") -app.run(debug=True, port=8000) +if __name__ == "__main__": + app.run(debug=True) |