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)
except KeyboardInterrupt:
running = False
web.stop()
web.stop(app.port)
# shutdown
app.cleanup()