From 86359ba91a3f80caf6d5fc5a6e7a26b3f4a4e9b9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 3 Sep 2019 10:01:19 +0100 Subject: [PATCH] datetime --- inbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inbox.py b/inbox.py index 6ae738a2e..e71b58aaf 100644 --- a/inbox.py +++ b/inbox.py @@ -1190,7 +1190,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.now().strftime("%m/%d/%Y, %H:%M:%S")) + print('>>> Heartbeat Q:'+str(len(queue))+' '+datetime.datetime.now().strftime("%m/%d/%Y, %H:%M:%S")) heartBeatCtr=0 if len(queue)>0: