[locations] settings needs to be int cast

This commit is contained in:
2024-02-10 15:37:31 -05:00
parent 449b74ae3f
commit 74f672a2fd

View File

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