From 6762612f2c1c082f957dc5a8a7f265833ae0cdc6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 Jun 2021 17:50:22 +0100 Subject: [PATCH] Test with no metadata alteration --- media.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/media.py b/media.py index 14dd997d3..5194d30e6 100644 --- a/media.py +++ b/media.py @@ -113,11 +113,13 @@ def processMetaData(baseDir: str, nickname: str, domain: str, """Handles image metadata. This tries to spoof the metadata if possible, but otherwise just removes it """ + copyfile(imageFilename, outputFilename) + # first remove the metadata - _removeMetaData(imageFilename, outputFilename) + # _removeMetaData(imageFilename, outputFilename) # 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: