# HG changeset patch # User Paul Fisher # Date 1569784470 14400 # Node ID 368f732f13d076dd337ff5f75cfe058249c730ee # Parent e7c8dcc5fc15ef86e512b871d7bfcdea4671df72 Actually make the server runnable. diff -r e7c8dcc5fc15 -r 368f732f13d0 weather_server/server.py --- 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')