From 7bbd67bc9d03fe346e836d0dce4879b0e3918c2f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 1 Dec 2019 14:12:29 +0000 Subject: [PATCH] Debug --- webinterface.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webinterface.py b/webinterface.py index 55afc071..0c106679 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2000,12 +2000,15 @@ def postIsMuted(baseDir: str,nickname: str,domain: str, messageId: str) -> bool: """ postDir=baseDir+'/accounts/'+nickname+'@'+domain muteFilename=postDir+'/inbox/'+messageId.replace('/','#')+'.json.muted' + print('TEST MUTE: '+muteFilename) if os.path.isfile(muteFilename): return True muteFilename=postDir+'/outbox/'+messageId.replace('/','#')+'.json.muted' + print('TEST MUTE: '+muteFilename) if os.path.isfile(muteFilename): return True muteFilename=baseDir+'/accounts/cache/announce/'+nickname+'/'+messageId.replace('/','#')+'.json.muted' + print('TEST MUTE: '+muteFilename) if os.path.isfile(muteFilename): return True return False