Formate gps data to float to work with new optima35
This commit is contained in:
parent
a14d776d32
commit
62c65510de
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ class OptimaLab35_lite():
|
||||||
long = input("Enter Longitude (xx.xxxxxx): ")
|
long = input("Enter Longitude (xx.xxxxxx): ")
|
||||||
try:
|
try:
|
||||||
self.o.exif_handler.add_geolocation_to_exif(test_exif, float(lat), float(long))
|
self.o.exif_handler.add_geolocation_to_exif(test_exif, float(lat), float(long))
|
||||||
return [lat, long]
|
return [float(lat), float(long)]
|
||||||
except Exception:
|
except Exception:
|
||||||
print("Invalid GPS formate, try again...")
|
print("Invalid GPS formate, try again...")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue