Skip to content
Closed
Show file tree
Hide file tree
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
added the singleton pattern to country.py
  • Loading branch information
NoBitLeft committed Aug 2, 2021
commit c6e9a7ff8cd3692781e1c6b9a5301dac99ddac3a
5 changes: 0 additions & 5 deletions app/location/country.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,11 +439,6 @@ def country_code(value):

return code

class Coordinates:
"""
A position on earth using decimal coordinates (latitude and longitude).
"""

def coordinates(self, latitude, longitude):
self.latitude = latitude
self.longitude = longitude
Expand Down
Loading