From fb550678117a6963539b864a18b904021e619dc5 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 21 Jul 2015 21:37:32 +0200 Subject: Remove the pillow stuff, because it was a bad idea. Pillow sucks at parsing malformed pictures :/ --- libmat/exiftool.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libmat/exiftool.py') diff --git a/libmat/exiftool.py b/libmat/exiftool.py index 366ab12..3efd4f2 100644 --- a/libmat/exiftool.py +++ b/libmat/exiftool.py @@ -4,10 +4,9 @@ import subprocess import parser -import pillow -class ExiftoolStripper(parser.GenericParser, pillow.PillowStripper): +class ExiftoolStripper(parser.GenericParser): ''' A generic stripper class using exiftool as backend ''' @@ -27,7 +26,6 @@ class ExiftoolStripper(parser.GenericParser, pillow.PillowStripper): def remove_all(self): ''' Remove all metadata with help of exiftool ''' - self.open_and_save() try: if self.backup: self.create_backup_copy() -- cgit v1.3