From e1ba56bc3dc79bc3b3dff1a2c2badc0b863da807 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 29 Sep 2019 11:13:00 +0100 Subject: [PATCH] Extra debug --- inbox.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inbox.py b/inbox.py index 89fdbd4f..f1d1c36f 100644 --- a/inbox.py +++ b/inbox.py @@ -975,9 +975,11 @@ def receiveAnnounce(session,handle: str,baseDir: str, \ print(messageJson['object']) return True updateAnnounceCollection(postFilename,messageJson['actor'],debug) + if debug: + print('DEBUG: Downloading announce post '+messageJson['object']) downloadAnnounce(session,baseDir,httpPrefix,nickname,domain,messageJson,__version__) if debug: - print('DEBUG: announced/repeated post found in inbox') + print('DEBUG: announced/repeated post arrived in inbox') return True def receiveUndoAnnounce(session,handle: str,baseDir: str, \