diff options
Diffstat (limited to 'app/photos/readexif.py')
-rw-r--r-- | app/photos/readexif.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/photos/readexif.py b/app/photos/readexif.py index 71416ff..70a6987 100644 --- a/app/photos/readexif.py +++ b/app/photos/readexif.py @@ -36,14 +36,6 @@ def readexif(image): except: pass try: - image.point = Point(meta["XMP:GPSLongitude"], meta["XMP:GPSLatitude"], srid=4326) - try: - image.location = Location.objects.filter(geometry__contains=image.point).get() - except Location.DoesNotExist: - pass - except KeyError: - pass - try: image.exif_aperture = meta["EXIF:FNumber"] except: pass |