Download:
child 73:0ff094b4fb4a
parent 71:e5b02a8172dc
72:121a21cb606e
Anton Shestakov <av6@dwimlabs.net>, Mon, 01 Aug 2016 10:53:12 +0800
viewer: print a usable URL in the 'serving on' log line

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
viewer.py file | annotate | diff | comparison | revisions
--- a/viewer.py Thu Jul 28 00:41:39 2016 +0800
+++ b/viewer.py Mon Aug 01 10:53:12 2016 +0800
@@ -321,7 +321,7 @@
def listen(self, port, address='', **kwargs):
name = self.__class__.__name__
- logging.info('%s is serving on %s:%d', name, address, port)
+ logging.info('%s is serving on http://%s:%d/', name, address, port)
super(Viewer, self).listen(port, address, **kwargs)