Skip to content

Commit

Permalink
Merge pull request #12 from ali96343/main
Browse files Browse the repository at this point in the history
Update ombott.py
  • Loading branch information
valq7711 authored Apr 14, 2024
2 parents 75d5929 + 381a7ff commit 6b98aa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ombott/ombott.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ def run(app=None, server='wsgiref', host='127.0.0.1', port=8080,
server.quiet = server.quiet or quiet
if not server.quiet:
_stderr("Ombott v%s server starting up (using %s)...\n" % (__version__, repr(server)))
_stderr(f"Listening on http{'s' if kwargs.get('certfile', None) else ''}://{server.host}:{server.port}/\n")
if not server.host.startswith('unix:/'):
_stderr(f"Listening on http{'s' if kwargs.get('certfile', None) else ''}://{server.host}:{server.port}/\n")
_stderr("Hit Ctrl-C to quit.\n\n")
server.run(app)
except KeyboardInterrupt:
Expand Down

0 comments on commit 6b98aa6

Please sign in to comment.