merge-requests/8/head
Bob Mottram 2020-10-13 22:55:52 +01:00
parent 41a3f22fe2
commit 52f1522b55
1 changed files with 1 additions and 1 deletions

View File

@ -1026,7 +1026,7 @@ def setNewsAvatar(baseDir: str, name: str,
if os.path.isfile(filename): if os.path.isfile(filename):
os.remove(filename) os.remove(filename)
if os.path.isdir(baseDir + 'cache/avatars'): if os.path.isdir(baseDir + '/cache/avatars'):
copyfile(newFilename, filename) copyfile(newFilename, filename)
copyfile(newFilename, copyfile(newFilename,
baseDir + '/accounts/' + baseDir + '/accounts/' +