From 351a21b3975c0c3006a990e3f01c40c453f5d621 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 20 Aug 2019 22:04:24 +0100 Subject: [PATCH] Debug --- posts.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/posts.py b/posts.py index dcba6141..c4a5784d 100644 --- a/posts.py +++ b/posts.py @@ -1424,6 +1424,7 @@ def sendToFollowers(session,baseDir: str, \ projectVersion: str) -> None: """sends a post to the followers of the given nickname """ + print('sendToFollowers') if not session: print('WARN: No session for sendToFollowers') return @@ -1432,12 +1433,14 @@ def sendToFollowers(session,baseDir: str, \ if debug: print('Post is not addressed to followers') return + print('Post is addressed to followers') grouped=groupFollowersByDomain(baseDir,nickname,domain) if not grouped: if debug: print('Post to followers did not resolve any domains') return + print('Post to followers resolved domains') # this is after the message has arrived at the server clientToServer=False