From da4123b1ecec5adf654a4577ab4087998d5fa4b0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 12 Nov 2019 21:58:59 +0000 Subject: [PATCH] Change heartbeat date format --- inbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inbox.py b/inbox.py index 42efe4fe3..df62328ee 100644 --- a/inbox.py +++ b/inbox.py @@ -1709,7 +1709,7 @@ def runInboxQueue(projectVersion: str, \ # heartbeat to monitor whether the inbox queue is running heartBeatCtr+=1 if heartBeatCtr>=10: - print('>>> Heartbeat Q:'+str(len(queue))+' '+datetime.datetime.now().strftime("%m/%d/%Y, %H:%M:%S")) + print('>>> Heartbeat Q:{:d} {:%F %T}'.format(len(queue), datetime.datetime.now())) heartBeatCtr=0 if len(queue)==0: