From b9310ed9ffd21467ad7041b028ac602913ecd5d9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 1 Sep 2019 20:54:02 +0100 Subject: [PATCH] Always print --- inbox.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inbox.py b/inbox.py index aca3ccf8e..c6bfecb8c 100644 --- a/inbox.py +++ b/inbox.py @@ -219,8 +219,7 @@ def savePostToInboxQueue(baseDir: str,httpPrefix: str, \ if postJsonObject['object'].get('content'): if isinstance(postJsonObject['object']['content'], str): if isFiltered(baseDir,nickname,domain,postJsonObject['object']['content']): - if debug: - print('DEBUG: post was filtered out due to content') + print('WARN: post was filtered out due to content') return None originalPostId=None if postJsonObject.get('id'):