Fix error in calculating the degrees from exif data
This commit is contained in:
@@ -137,7 +137,7 @@ def _get_exif_data(filename):
|
||||
def _get_degrees(v):
|
||||
d = float(v[0][0]) / float(v[0][1])
|
||||
m = float(v[1][0]) / float(v[1][1])
|
||||
s = float(v[2][0]) / float(v[1][1])
|
||||
s = float(v[2][0]) / float(v[2][1])
|
||||
return d + (m / 60.0) + (s / 3600.0)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user