Fix error in calculating the degrees from exif data

This commit is contained in:
Keith Johnson
2013-09-22 15:11:12 -04:00
parent 5ed5052b1f
commit 00d974cedb

View File

@@ -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)