forked from indymedia/epicyon
Remove debug
parent
52f1522b55
commit
660eea7c49
2
theme.py
2
theme.py
|
@ -1021,8 +1021,6 @@ def setNewsAvatar(baseDir: str, name: str,
|
||||||
httpPrefix + '://' + domainFull + '/users/' + nickname + '.png'
|
httpPrefix + '://' + domainFull + '/users/' + nickname + '.png'
|
||||||
avatarFilename = avatarFilename.replace('/', '-')
|
avatarFilename = avatarFilename.replace('/', '-')
|
||||||
filename = baseDir + '/cache/avatars/' + avatarFilename
|
filename = baseDir + '/cache/avatars/' + avatarFilename
|
||||||
print('news avatar new filename ' + newFilename)
|
|
||||||
print('news avatar filename ' + filename)
|
|
||||||
|
|
||||||
if os.path.isfile(filename):
|
if os.path.isfile(filename):
|
||||||
os.remove(filename)
|
os.remove(filename)
|
||||||
|
|
Loading…
Reference in New Issue