forked from indymedia/epicyon
Remove metadata from images
This commit is contained in:
1 parent
830b6c2d00
commit
f5097eafbd
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user