From e9db21212130bb9d9a44466d318a56bf111d301c Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sat, 25 Nov 2023 00:36:07 +0100 Subject: [PATCH] Fix dupped lat code --- vrobbler/apps/locations/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]