Download:
child 198:de8211272206
parent 196:7a05eb159087
197:e59198f04d78
Anton Shestakov <av6@dwimlabs.net>, Sat, 30 Jul 2016 17:47:51 +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 Sat Jul 30 17:47:09 2016 +0800
+++ b/viewer.py Sat Jul 30 17:47:51 2016 +0800
@@ -42,7 +42,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(CandolintViewer, self).listen(port, address, **kwargs)