Skip to content

Commit

Permalink
Update ombott.py
Browse files Browse the repository at this point in the history
changed banner
  • Loading branch information
ali96343 authored Jan 6, 2024
1 parent a7f64e7 commit 381a7ff
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 381a7ff

Please sign in to comment.