Extra debug

main2
Bob Mottram 2019-09-29 11:13:00 +01:00
parent 98064881e4
commit e1ba56bc3d
1 changed files with 3 additions and 1 deletions

View File

@ -975,9 +975,11 @@ def receiveAnnounce(session,handle: str,baseDir: str, \
print(messageJson['object']) print(messageJson['object'])
return True return True
updateAnnounceCollection(postFilename,messageJson['actor'],debug) updateAnnounceCollection(postFilename,messageJson['actor'],debug)
if debug:
print('DEBUG: Downloading announce post '+messageJson['object'])
downloadAnnounce(session,baseDir,httpPrefix,nickname,domain,messageJson,__version__) downloadAnnounce(session,baseDir,httpPrefix,nickname,domain,messageJson,__version__)
if debug: if debug:
print('DEBUG: announced/repeated post found in inbox') print('DEBUG: announced/repeated post arrived in inbox')
return True return True
def receiveUndoAnnounce(session,handle: str,baseDir: str, \ def receiveUndoAnnounce(session,handle: str,baseDir: str, \