Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Testing cordinates
  • Loading branch information
Solracion committed Jul 22, 2021
commit aaadc21231ab1ed75dfe568a0c4494ce84faf96b
4 changes: 1 addition & 3 deletions app/coordinates.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ def serialize(self,latitude,longitude):
:returns: The serialized coordinates.
:rtype: dict
"""
self.latitude=latitude
self.longitude=longitude

return {self.latitude,self.longitude}

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

latitude = Coordinates("latitude")
longitude= Coordinates("longitude")
longitude = Coordinates("longitude")