X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FGPS.py;h=59f8d5b3c2092ba3df2b16cce8c66c449f0526d9;hb=3a1235a834118bb52c5d92fce9c7182c04a44e0b;hp=477dc9b93bb5e219cd01a30db73d0004eccf08fd;hpb=bcc152b59791e0aa3e7a5e34ad84124b4c48b276;p=dead%2Fcensus-tools.git diff --git a/src/GPS.py b/src/GPS.py index 477dc9b..59f8d5b 100644 --- a/src/GPS.py +++ b/src/GPS.py @@ -1,6 +1,6 @@ class Coordinates: - """Represents a set of GPS coordinates (latitude/longitude).""" + """Represents a set of GPS coordinates (longitude/latitude).""" - def __init__(self): - self.latitude = 0 - self.longitude = 0 + def __init__(self, x=0, y=0): + self.longitude = x + self.latitude = y