diff --git a/vrobbler/apps/locations/models.py b/vrobbler/apps/locations/models.py index 57efa85..340603a 100644 --- a/vrobbler/apps/locations/models.py +++ b/vrobbler/apps/locations/models.py @@ -50,7 +50,7 @@ class GeoLocation(ScrobblableMixin): return int_lat, r_lat = str(data_dict.get("lat", "")).split(".") - int_lon, r_lon = str(data_dict.get("lat", "")).split(".") + int_lon, r_lon = str(data_dict.get("lon", "")).split(".") try: trunc_lat = r_lat[0:4]