From c59eb480ae2dd674ccdfaea53563be60a50c9c08 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 21 Feb 2020 11:32:43 +0000 Subject: [PATCH] Fix indents --- inbox.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/inbox.py b/inbox.py index 41c485b9..5e391485 100644 --- a/inbox.py +++ b/inbox.py @@ -401,11 +401,11 @@ def inboxCheckCapabilities(baseDir :str,nickname :str,domain :str, \ if debug: print('DEBUG: capabilities for '+ \ actor+' do not exist') - if os.path.isfile(queueFilename): - os.remove(queueFilename) - if len(queue)>0: - queue.pop(0) - return False + if os.path.isfile(queueFilename): + os.remove(queueFilename) + if len(queue)>0: + queue.pop(0) + return False oc=loadJson(ocapFilename) if not oc: @@ -2158,10 +2158,10 @@ def runInboxQueue(recentPostsCache: {},maxRecentPosts: int, \ if not pubKey: if debug: print('DEBUG: public key could not be obtained from '+keyId) - if os.path.isfile(queueFilename): - os.remove(queueFilename) - if len(queue)>0: - queue.pop(0) + if os.path.isfile(queueFilename): + os.remove(queueFilename) + if len(queue)>0: + queue.pop(0) continue # check the signature