Remove debug

main
Bob Mottram 2020-10-13 22:57:45 +01:00
parent 52f1522b55
commit 660eea7c49
1 changed files with 0 additions and 2 deletions

View File

@ -1021,8 +1021,6 @@ 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)