From a637a59a4051044d3ee404cb01a87330d786aa32 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Mon, 12 Feb 2024 11:48:43 -0500 Subject: [PATCH] [scrobbling] Fix location function name typo --- 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 70666d9..1ae4b91 100644 --- a/vrobbler/apps/scrobbles/models.py +++ b/vrobbler/apps/scrobbles/models.py @@ -767,7 +767,7 @@ class Scrobble(TimeStampedModel): # Do some funny stuff if it's a geo location if mtype == cls.MediaType.GEO_LOCATION: - moved_location = cls.check_location_for_completion(media, user_id) + moved_location = cls.user_has_moved_locations(media, user_id) if not moved_location: logger.info( f"[scrobbling] updating {scrobble.id} for {mtype} {media.id} from {source}", @@ -799,7 +799,7 @@ class Scrobble(TimeStampedModel): return cls.create(scrobble_data) @classmethod - def location_can_be_updated( + def user_has_moved_locations( cls, location: GeoLocation, user_id: int ) -> bool: scrobble = (