Fix indents

main
Bob Mottram 2020-02-21 11:32:43 +00:00
parent e72bf84d8b
commit c59eb480ae
1 changed files with 9 additions and 9 deletions

View File

@ -401,11 +401,11 @@ def inboxCheckCapabilities(baseDir :str,nickname :str,domain :str, \
if debug: if debug:
print('DEBUG: capabilities for '+ \ print('DEBUG: capabilities for '+ \
actor+' do not exist') actor+' do not exist')
if os.path.isfile(queueFilename): if os.path.isfile(queueFilename):
os.remove(queueFilename) os.remove(queueFilename)
if len(queue)>0: if len(queue)>0:
queue.pop(0) queue.pop(0)
return False return False
oc=loadJson(ocapFilename) oc=loadJson(ocapFilename)
if not oc: if not oc:
@ -2158,10 +2158,10 @@ def runInboxQueue(recentPostsCache: {},maxRecentPosts: int, \
if not pubKey: if not pubKey:
if debug: if debug:
print('DEBUG: public key could not be obtained from '+keyId) print('DEBUG: public key could not be obtained from '+keyId)
if os.path.isfile(queueFilename): if os.path.isfile(queueFilename):
os.remove(queueFilename) os.remove(queueFilename)
if len(queue)>0: if len(queue)>0:
queue.pop(0) queue.pop(0)
continue continue
# check the signature # check the signature