From 2ba694655b4a9b43544c7eb046b63dc6b1d87e81 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sat, 10 Feb 2024 15:14:42 -0500 Subject: [PATCH] [locations] Fix constant typo --- vrobbler/apps/scrobbles/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrobbler/apps/scrobbles/models.py b/vrobbler/apps/scrobbles/models.py index a92a1a6..9338320 100644 --- a/vrobbler/apps/scrobbles/models.py +++ b/vrobbler/apps/scrobbles/models.py @@ -744,7 +744,7 @@ class Scrobble(TimeStampedModel): scrobble = self all_moves = [] - for i in range(NUM_HISTORY_FOR_MOVEMENT): + for i in range(POINTS_FOR_MOVEMENT_HISTORY): loc_diff = self.loc_diff if loc_diff and loc_diff[0] < 0.001 and loc_diff[1] > 0.001: all_moves.append(True)