Mercurial > personal > weather-server
diff weather_server/server.py @ 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 | d54155a199d8 |
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')