Fixed CLI version to properly stop the webserver

This commit is contained in:
Mason Donahue 2014-09-06 00:31:47 -05:00
parent 7b666654f3
commit ea06ec19a1

View file

@ -260,7 +260,7 @@ def main():
time.sleep(0.5) time.sleep(0.5)
except KeyboardInterrupt: except KeyboardInterrupt:
running = False running = False
web.stop() web.stop(app.port)
# shutdown # shutdown
app.cleanup() app.cleanup()