From 0bbede6a839ff756cacb40101fa7ad2ec839dd14 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 18 Oct 2020 20:35:47 +0100 Subject: [PATCH] Debug --- utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils.py b/utils.py index d0ced0b32..b06c15296 100644 --- a/utils.py +++ b/utils.py @@ -600,10 +600,13 @@ def clearFromPostCaches(baseDir: str, postId: str) -> None: continue cacheDir = os.path.join(baseDir + '/accounts/postcache', acct) postFilename = cacheDir + filename + print('clearFromPostCaches: ' + postFilename) if os.path.isfile(postFilename): try: os.remove(postFilename) except BaseException: + print('WARN: clearFromPostCaches file not removed ' + + postFilename) pass