From 41a3f22fe2c8ab7c3256e4b1fa426c5f192dc291 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 13 Oct 2020 22:53:33 +0100 Subject: [PATCH] Debug --- theme.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/theme.py b/theme.py index cea0501d..8b06734f 100644 --- a/theme.py +++ b/theme.py @@ -1021,6 +1021,8 @@ def setNewsAvatar(baseDir: str, name: str, httpPrefix + '://' + domainFull + '/users/' + nickname + '.png' avatarFilename = avatarFilename.replace('/', '-') filename = baseDir + '/cache/avatars/' + avatarFilename + print('news avatar new filename ' + newFilename) + print('news avatar filename ' + filename) if os.path.isfile(filename): os.remove(filename)