Open GoogleCodeExporter opened 8 years ago
A more correct statement would be that the lines:
270 & 273 both fail on the initial save/creation of the photo object because
self.image.path returns a path starting with the media root.
In this situation, the photo does not exist in that location. Only after the
first save
is complete will it be there. So the open() portion will always fail to find it.
Original comment by e3satter...@gmail.com
on 22 Mar 2010 at 4:30
this would correct the problem:
[FROM]
exif_date = self.EXIF.get('EXIF DateTimeOriginal', None)
[TO]
exif_date = EXIF.process_file(self.image.file).get('EXIF DateTimeOriginal',
None)
Original comment by e3satter...@gmail.com
on 22 Mar 2010 at 4:37
Original issue reported on code.google.com by
e3satter...@gmail.com
on 22 Mar 2010 at 4:10