mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-02 02:40:12 +00:00
Debug
This commit is contained in:
1 parent
3ba7318220
commit
1fb429136e
1 file changed
+2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user