From 32baf6b41f93e05aebe0b4117188f0b3a25b79a6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 11 Mar 2021 11:40:20 +0000 Subject: [PATCH] Only print with debug --- like.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/like.py b/like.py index b80463c52..6868ad09a 100644 --- a/like.py +++ b/like.py @@ -206,7 +206,8 @@ def sendLikeViaServer(baseDir: str, session, postResult = postJson(session, newLikeJson, [], inboxUrl, headers, 30, True) if not postResult: - print('WARN: POST announce failed for c2s to ' + inboxUrl) + if debug: + print('WARN: POST announce failed for c2s to ' + inboxUrl) return 5 if debug: