Remove unnecessary KeyboardInterrupt handler
continuous-integration/drone Build is passing Details

This commit is contained in:
Lauri Võsandi 2022-08-25 00:24:59 +03:00
parent a275fe9522
commit 135860f4c1
1 changed files with 3 additions and 6 deletions

View File

@ -551,9 +551,6 @@ async def setup_db(app, loop):
monitor(app).expose_endpoint() monitor(app).expose_endpoint()
try: app.run(host="0.0.0.0",
app.run(host="0.0.0.0", port=5000,
port=5000, debug=bool(os.getenv("DEBUG", 0)))
debug=bool(os.getenv("DEBUG", 0)))
except KeyboardInterrupt:
asyncio.get_event_loop().close()