From 5b434cad655d406048a5e1cc0088bf86466e754f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 15 Aug 2019 17:19:07 +0100 Subject: [PATCH] More debug --- inbox.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inbox.py b/inbox.py index d6f12551e..79d448a51 100644 --- a/inbox.py +++ b/inbox.py @@ -980,6 +980,8 @@ def restoreQueueItems(baseDir: str,queue: []) -> None: for queuesubdir,queuedirs,queuefiles in os.walk(queueDir): for qfile in queuefiles: queue.append(os.path.join(queueDir, qfile)) + if len(queue)>0: + print('Restored '+len(queue)+' inbox queue items') def runInboxQueue(projectVersion: str, \ baseDir: str,httpPrefix: str,sendThreads: [],postLog: [], \ @@ -1087,6 +1089,8 @@ def runInboxQueue(projectVersion: str, \ if accountMaxPostsPerDay>0 or domainMaxPostsPerDay>0: pprint(quotas) + print('Obtaining public key for '+queueJson['id']) + # Try a few times to obtain the public key pubKey=None keyId=None