BREAKING GPS has to be float
This commit is contained in:
parent
44d98ef28f
commit
4622136a8e
1 changed files with 2 additions and 2 deletions
|
@ -124,8 +124,8 @@ class OptimaManager:
|
||||||
|
|
||||||
# GPS data
|
# GPS data
|
||||||
if gps is not None:
|
if gps is not None:
|
||||||
latitude = float(gps[0])
|
latitude = gps[0]
|
||||||
longitude = float(gps[1])
|
longitude = gps[1]
|
||||||
exif_piexif_format = self.exif_handler.add_geolocation_to_exif(exif_piexif_format, latitude, longitude)
|
exif_piexif_format = self.exif_handler.add_geolocation_to_exif(exif_piexif_format, latitude, longitude)
|
||||||
|
|
||||||
self.exif_handler.insert_exif(exif_dict = exif_piexif_format, img_path = image_path)
|
self.exif_handler.insert_exif(exif_dict = exif_piexif_format, img_path = image_path)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue