mirror of
https://github.com/pypiserver/pypiserver
synced 2025-02-22 19:19:37 +01:00
flush stdout before calling bottle's run
also show the http url.
This commit is contained in:
parent
a1fc09d14c
commit
515bfb5b7b
@ -240,7 +240,8 @@ def main(argv=None):
|
||||
fallback_url=fallback_url
|
||||
)
|
||||
server = server or "auto"
|
||||
sys.stdout.write("This is pypiserver %s serving %r on %s:%s\n\n" % (__version__, root, host, port))
|
||||
sys.stdout.write("This is pypiserver %s serving %r on http://%s:%s\n\n" % (__version__, root, host, port))
|
||||
sys.stdout.flush()
|
||||
run(app=a, host=host, port=port, server=server)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user