From 61aabc7ee2b798365a62e0f1803a4f730fb64124 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 25 Jan 2015 14:19:38 +0100 Subject: [PATCH] Copy and paste error --- scanner/PhotoAlbum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanner/PhotoAlbum.py b/scanner/PhotoAlbum.py index d6e14c4..8e09554 100644 --- a/scanner/PhotoAlbum.py +++ b/scanner/PhotoAlbum.py @@ -147,7 +147,7 @@ class Photo(object): decoded = TAGS.get(tag, tag) if isinstance(value, str) or isinstance(value, unicode): value = value.strip().partition("\x00")[0] - if (isinstance(decoded, str) or isinstance(value, unicode)) and decoded.startswith("DateTime"): + if (isinstance(decoded, str) or isinstance(decoded, unicode)) and decoded.startswith("DateTime"): try: value = datetime.strptime(value, '%Y:%m:%d %H:%M:%S') except KeyboardInterrupt: