Merge pull request #138 from r4v5/fix-cli-cleanup

Fixed CLI version to properly stop the webserver
This commit is contained in:
Micah Lee 2014-09-15 18:38:04 +00:00
commit b74a6856b7

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()