1
0
Fork 0
forked from github/pelican

Use rich logging for Pelican server

This commit is contained in:
MinchinWeb 2021-10-01 18:05:06 -06:00
commit 0b9a488c26
2 changed files with 6 additions and 2 deletions

View file

@ -487,8 +487,8 @@ def listen(server, port, output, excqueue=None):
return
try:
print("\nServing site at: http://{}:{} - Tap CTRL-C to stop".format(
server, port))
console.print("Serving site at: http://{}:{} - Tap CTRL-C to stop".format(
server, port))
httpd.serve_forever()
except Exception as e:
if excqueue is not None: