From 879942d0706a639a664bf47d00c53f2d71929981 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sat, 10 Feb 2024 15:12:31 -0500 Subject: [PATCH] [locations] Geo accuracy should be int --- 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 dbe531b..56c5d0a 100644 --- a/vrobbler/apps/locations/models.py +++ b/vrobbler/apps/locations/models.py @@ -13,7 +13,7 @@ logger = logging.getLogger(__name__) BNULL = {"blank": True, "null": True} User = get_user_model() -GEOLOC_ACCURACY = getattr(settings, "GEOLOC_ACCURACY", 4) +GEOLOC_ACCURACY = int(getattr(settings, "GEOLOC_ACCURACY", 4)) class GeoLocation(ScrobblableMixin):