Mercurial > personal > weather-server
changeset 5:368f732f13d0
Actually make the server runnable.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 29 Sep 2019 15:14:30 -0400 |
parents | e7c8dcc5fc15 |
children | f8c2cb05d643 |
files | weather_server/server.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/weather_server/server.py Sun Sep 29 15:10:18 2019 -0400 +++ b/weather_server/server.py Sun Sep 29 15:14:30 2019 -0400 @@ -1,4 +1,5 @@ import hmac +import sys import bson import flask @@ -70,7 +71,7 @@ def main(argv): """Main function for a simple local demo.""" - app = server.build_app(argv[0]) + app = build_app(argv[0]) app.run(host='0.0.0.0')