changeset 2791:927ee24989f3

cosmetic fix: this is NOT octal
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 01 Sep 2007 01:15:14 +0200
parents c66e6c0a40b3
children e4ebc0bcf5ed
files MoinMoin/filter/EXIF.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/filter/EXIF.py	Fri Aug 31 21:00:24 2007 +0200
+++ b/MoinMoin/filter/EXIF.py	Sat Sep 01 01:15:14 2007 +0200
@@ -994,12 +994,12 @@
         # not at the start of the makernote, it's probably type 2, since some
         # cameras work that way.
         if make in ('NIKON', 'NIKON CORPORATION'):
-            if note.values[0:7] == [78, 105, 107, 111, 110, 00, 01]:
+            if note.values[0:7] == [78, 105, 107, 111, 110, 0, 1]:
                 if self.debug:
                     print "Looks like a type 1 Nikon MakerNote."
                 self.dump_IFD(note.field_offset+8, 'MakerNote',
                               dict=MAKERNOTE_NIKON_OLDER_TAGS)
-            elif note.values[0:7] == [78, 105, 107, 111, 110, 00, 02]:
+            elif note.values[0:7] == [78, 105, 107, 111, 110, 0, 2]:
                 if self.debug:
                     print "Looks like a labeled type 2 Nikon MakerNote"
                 if note.values[12:14] != [0, 42] and note.values[12:14] != [42L, 0L]: