diff options
| author | jvoisin | 2015-07-21 21:37:32 +0200 |
|---|---|---|
| committer | jvoisin | 2015-07-21 21:37:32 +0200 |
| commit | fb550678117a6963539b864a18b904021e619dc5 (patch) | |
| tree | 17c7dfd312a3f80d9ac886fefa5f79b744b3b468 /libmat/exiftool.py | |
| parent | dc718900a2160c29cade4ed44cf5101b07c97240 (diff) | |
Remove the pillow stuff, because it was a bad idea.
Pillow sucks at parsing malformed pictures :/
Diffstat (limited to 'libmat/exiftool.py')
| -rw-r--r-- | libmat/exiftool.py | 4 |
1 files changed, 1 insertions, 3 deletions
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 @@ | |||
| 4 | import subprocess | 4 | import subprocess |
| 5 | 5 | ||
| 6 | import parser | 6 | import parser |
| 7 | import pillow | ||
| 8 | 7 | ||
| 9 | 8 | ||
| 10 | class ExiftoolStripper(parser.GenericParser, pillow.PillowStripper): | 9 | class ExiftoolStripper(parser.GenericParser): |
| 11 | ''' A generic stripper class using exiftool as backend | 10 | ''' A generic stripper class using exiftool as backend |
| 12 | ''' | 11 | ''' |
| 13 | 12 | ||
| @@ -27,7 +26,6 @@ class ExiftoolStripper(parser.GenericParser, pillow.PillowStripper): | |||
| 27 | def remove_all(self): | 26 | def remove_all(self): |
| 28 | ''' Remove all metadata with help of exiftool | 27 | ''' Remove all metadata with help of exiftool |
| 29 | ''' | 28 | ''' |
| 30 | self.open_and_save() | ||
| 31 | try: | 29 | try: |
| 32 | if self.backup: | 30 | if self.backup: |
| 33 | self.create_backup_copy() | 31 | self.create_backup_copy() |
