[locations] Geo accuracy should be int
This commit is contained in:
@ -13,7 +13,7 @@ logger = logging.getLogger(__name__)
|
|||||||
BNULL = {"blank": True, "null": True}
|
BNULL = {"blank": True, "null": True}
|
||||||
User = get_user_model()
|
User = get_user_model()
|
||||||
|
|
||||||
GEOLOC_ACCURACY = getattr(settings, "GEOLOC_ACCURACY", 4)
|
GEOLOC_ACCURACY = int(getattr(settings, "GEOLOC_ACCURACY", 4))
|
||||||
|
|
||||||
|
|
||||||
class GeoLocation(ScrobblableMixin):
|
class GeoLocation(ScrobblableMixin):
|
||||||
|
|||||||
Reference in New Issue
Block a user