Remove metadata from images

master
Bob Mottram 2019-08-30 19:47:10 +01:00
parent 830b6c2d00
commit f5097eafbd
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ def attachMedia(baseDir: str,httpPrefix: str,domain: str,port: int, \
attachmentJson['blurhash']=getImageHash(imageFilename)
postJson['attachment']=[attachmentJson]
if baseDir:
if baseDir and mediaType=='image':
removeMetaData(imageFilename,mediaFilename)
#copyfile(imageFilename,mediaFilename)