Really fix find_origin_coordinate

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Keith Rothman 2018-10-11 13:47:17 -07:00 committed by Tim 'mithro' Ansell
parent ff56a96843
commit f514e36c13
1 changed files with 3 additions and 3 deletions

View File

@ -191,9 +191,9 @@ def find_origin_coordinate(site_names):
x_coords = []
y_coords = []
for site in site_names:
x_coord, y_coord = get_site_coordinate_from_name(site)
x_coords.append(x_coord)
y_coords.append(y_coord)
coordinate = get_site_coordinate_from_name(site)
x_coords.append(coordinate.x_coord)
y_coords.append(coordinate.y_coord)
if len(x_coords) == 0 or len(y_coords) == 0:
return 0, 0