mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
a more concise time format
This commit is contained in:
parent
bcf842e265
commit
f67b5656f6
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ for message in ps.listen():
|
|||
if message["type"] != "message":
|
||||
continue
|
||||
if message["channel"] == "logs":
|
||||
sys.stdout.write(time.ctime() + " " + message["data"] + "\n")
|
||||
sys.stdout.write(time.strftime("%b %d %H:%M:%S") + " " + message["data"] + "\n")
|
||||
sys.stdout.flush()
|
||||
continue
|
||||
if message["channel"] == "exit":
|
||||
|
|
|
|||
Loading…
Reference in a new issue