Browse Source

Fix dupped lat code

Colin Powell 1 năm trước cách đây
mục cha
commit
e9db212121
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      vrobbler/apps/locations/models.py

+ 1 - 1
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]