mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-01 18:47:48 +00:00
Update node.py
Fix return value error in *coords* property which was intended to build a tuple from two values for latitude and longitude.
This commit is contained in:
@@ -36,7 +36,7 @@ class Node:
|
||||
|
||||
@property
|
||||
def coords(self):
|
||||
return tuple(self.lng, self.lat)
|
||||
return (self.lng, self.lat)
|
||||
|
||||
@property
|
||||
def location(self):
|
||||
|
||||
Reference in New Issue
Block a user