Remove metadata from images

This commit is contained in:
bashrc committed 2019-08-30 19:47:10 +01:00
1 parent 830b6c2d00
commit f5097eafbd
1 file changed
+1 -1
+1 -1
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)