[locations] Geo accuracy should be int

This commit is contained in:
2024-02-10 15:12:31 -05:00
parent bfd210d280
commit 879942d070

View File

@ -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):