From 74f672a2fd5ee32fb43c6f7610fefcb340fd23d7 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sat, 10 Feb 2024 15:37:31 -0500 Subject: [PATCH] [locations] settings needs to be int cast --- vrobbler/apps/scrobbles/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vrobbler/apps/scrobbles/models.py b/vrobbler/apps/scrobbles/models.py index 9338320..790c8f4 100644 --- a/vrobbler/apps/scrobbles/models.py +++ b/vrobbler/apps/scrobbles/models.py @@ -46,8 +46,8 @@ logger = logging.getLogger(__name__) User = get_user_model() BNULL = {"blank": True, "null": True} -POINTS_FOR_MOVEMENT_HISTORY = getattr( - settings, "POINTS_FOR_MOVEMENT_HISTORY", 3 +POINTS_FOR_MOVEMENT_HISTORY = int( + getattr(settings, "POINTS_FOR_MOVEMENT_HISTORY", 3) )