Restore metadata handling

main
Bob Mottram 2021-06-12 17:57:57 +01:00
parent 6762612f2c
commit 1a4a41057b
1 changed files with 2 additions and 4 deletions

View File

@ -113,13 +113,11 @@ def processMetaData(baseDir: str, nickname: str, domain: str,
"""Handles image metadata. This tries to spoof the metadata """Handles image metadata. This tries to spoof the metadata
if possible, but otherwise just removes it if possible, but otherwise just removes it
""" """
copyfile(imageFilename, outputFilename)
# first remove the metadata # first remove the metadata
# _removeMetaData(imageFilename, outputFilename) _removeMetaData(imageFilename, outputFilename)
# now add some spoofed data to misdirect surveillance capitalists # now add some spoofed data to misdirect surveillance capitalists
# _spoofMetaData(baseDir, nickname, domain, outputFilename, city) _spoofMetaData(baseDir, nickname, domain, outputFilename, city)
def _isMedia(imageFilename: str) -> bool: def _isMedia(imageFilename: str) -> bool: