Debug message

main2
Bob Mottram 2019-10-01 13:19:50 +01:00
parent 5a00ecaf8b
commit f31a9b4fd1
1 changed files with 2 additions and 0 deletions

View File

@ -992,6 +992,8 @@ def receiveAnnounce(session,handle: str,baseDir: str, \
if postJsonObject['object'].get('attributedTo'): if postJsonObject['object'].get('attributedTo'):
lookupActor=postJsonObject['object']['attributedTo'] lookupActor=postJsonObject['object']['attributedTo']
if lookupActor: if lookupActor:
if debug:
print('DEBUG: Obtaining actor for announce post '+lookupActor)
getPersonFromCache(baseDir,lookupActor,personCache) getPersonFromCache(baseDir,lookupActor,personCache)
if debug: if debug:
print('DEBUG: announced/repeated post arrived in inbox') print('DEBUG: announced/repeated post arrived in inbox')