diff options
author | Juan-Pablo Scaletti <juanpablo@lucumalabs.com> | 2013-03-17 19:04:20 -0700 |
---|---|---|
committer | Juan-Pablo Scaletti <juanpablo@lucumalabs.com> | 2013-03-17 19:04:20 -0700 |
commit | b07193248fc8e1aa4e44e3129a844ffa01199bd0 (patch) | |
tree | 7004e4be0a5c3e0eb88255f6ca1adfaacfb37918 | |
parent | c9426b798892a80c57206de865d291227da20a51 (diff) | |
download | cherrypy-b07193248fc8e1aa4e44e3129a844ffa01199bd0.tar.gz |
Adds a http:// to the displayed server URL (if a host and a port are available)
-rw-r--r-- | cherrypy/process/servers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/process/servers.py b/cherrypy/process/servers.py index b48de616..15dc1007 100644 --- a/cherrypy/process/servers.py +++ b/cherrypy/process/servers.py @@ -151,7 +151,7 @@ class ServerAdapter(object): on_what = "unknown interface (dynamic?)" elif isinstance(self.bind_addr, tuple): host, port = self.bind_addr - on_what = "%s:%s" % (host, port) + on_what = "http://%s:%s" % (host, port) else: on_what = "socket file: %s" % self.bind_addr |