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