changeset 206:97019e1098a2

text_x_arnica.get_exif_info: exif reading can also raise a KeyError
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Mon, 21 Jul 2008 20:35:03 +0200
parents 8d25330f0ab0
children 08965faaa4ff
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Sun Jul 20 22:33:26 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Mon Jul 21 20:35:03 2008 +0200
@@ -239,7 +239,7 @@
             try:
                 im = Image.open(file_name)
                 rawExif = im._getexif().items()
-            except (IOError, AttributeError):
+            except (IOError, AttributeError, KeyError):
                 pass
 
             if rawExif: