diff --git a/daemon.py b/daemon.py index 4ce2475f..cb20cd43 100644 --- a/daemon.py +++ b/daemon.py @@ -3242,7 +3242,7 @@ class PubServer(BaseHTTPRequestHandler): nickname+'@'+self.server.domain+'/'+mType+'.temp' else: filenameBase= \ - self.server.baseDir+'/accounts/logo.temp' + self.server.baseDir+'/accounts/login.temp' filename,attachmentMediaType= \ saveMediaInFormPOST(mediaBytes,self.server.debug,filenameBase) @@ -3257,9 +3257,6 @@ class PubServer(BaseHTTPRequestHandler): if self.server.debug: print('DEBUG: POST '+mType+' media removing metadata') postImageFilename=filename.replace('.temp','') - if mType=='instanceLogo': - filename=self.server.baseDir+'/accounts/logo.temp.png' - postImageFilename=self.server.baseDir+'/accounts/logo.png' removeMetaData(filename,postImageFilename) if os.path.isfile(postImageFilename): print('profile update POST '+mType+' image saved to '+postImageFilename)