Fix variable assignment in the example script

pull/5256/head
Tamihiro Yuzawa 9 years ago committed by tamihiro
parent 84ef9d75d7
commit 2961e57007
  1. 2
      examples/python/route_guide/route_guide_server.py

@ -51,7 +51,7 @@ def get_distance(start, end):
coord_factor = 10000000.0
lat_1 = start.latitude / coord_factor
lat_2 = end.latitude / coord_factor
lon_1 = start.latitude / coord_factor
lon_1 = start.longitude / coord_factor
lon_2 = end.longitude / coord_factor
lat_rad_1 = math.radians(lat_1)
lat_rad_2 = math.radians(lat_2)

Loading…
Cancel
Save