Skip to content

Commit aaadc21

Browse files
committed
Testing cordinates
1 parent 4285fbf commit aaadc21

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/coordinates.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ def serialize(self,latitude,longitude):
1818
:returns: The serialized coordinates.
1919
:rtype: dict
2020
"""
21-
self.latitude=latitude
22-
self.longitude=longitude
2321

2422
return {self.latitude,self.longitude}
2523

2624
def __str__(self):
2725
return "lat: %s, long: %s" % (self.latitude, self.longitude)
2826

2927
latitude = Coordinates("latitude")
30-
longitude= Coordinates("longitude")
28+
longitude = Coordinates("longitude")

0 commit comments

Comments
 (0)