From d81c985e442a3f69b334cc2452b29401f9f53570 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 16 Apr 2020 10:27:22 +0100 Subject: [PATCH] Exit loop if no keyId --- inbox.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/inbox.py b/inbox.py index 5ec23b2f..4d52e728 100644 --- a/inbox.py +++ b/inbox.py @@ -2407,11 +2407,8 @@ def runInboxQueue(recentPostsCache: {}, maxRecentPosts: int, if not keyId: print('Queue: No keyId in signature: ' + queueJson['httpHeaders']['signature']) - if os.path.isfile(queueFilename): - os.remove(queueFilename) - if len(queue) > 0: - queue.pop(0) - continue + pubKey = None + break pubKey = \ getPersonPubKey(baseDir, session, keyId,