mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-02 19:18:02 +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
|
@property
|
||||||
def coords(self):
|
def coords(self):
|
||||||
return tuple(self.lng, self.lat)
|
return (self.lng, self.lat)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def location(self):
|
def location(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user