diff --git a/theme.py b/theme.py index cea0501d5..8b06734fc 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)