From fc5b96c79659e675b98dbaadd6902030becdee60 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 13 Oct 2020 22:51:06 +0100 Subject: [PATCH] Slash --- theme.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/theme.py b/theme.py index 531057b1..cea0501d 100644 --- a/theme.py +++ b/theme.py @@ -1020,9 +1020,7 @@ def setNewsAvatar(baseDir: str, name: str, avatarFilename = \ httpPrefix + '://' + domainFull + '/users/' + nickname + '.png' avatarFilename = avatarFilename.replace('/', '-') - filename = baseDir + 'cache/avatars/' + avatarFilename - print('news avatar new filename ' + newFilename) - print('news avatar filename ' + filename) + filename = baseDir + '/cache/avatars/' + avatarFilename if os.path.isfile(filename): os.remove(filename)