Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
gbtami committed Jan 5, 2025
1 parent 3d27f2b commit cbc553a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,14 @@ async def close_mongodb_client(app):
# init monitor just before run_app
with aiomonitor.start_monitor(loop=loop, locals=locals_):
web.run_app(
app, loop=loop, access_log=None if args.w else access_logger, port=int(os.environ.get("PORT", 8080))
app,
loop=loop,
access_log=None if args.w else access_logger,
port=int(os.environ.get("PORT", 8080)),
)
else:
web.run_app(
app, access_log=None if args.w else access_logger, port=int(os.environ.get("PORT", 8080))
app,
access_log=None if args.w else access_logger,
port=int(os.environ.get("PORT", 8080)),
)

0 comments on commit cbc553a

Please sign in to comment.