diff --git a/vrobbler/apps/scrobbles/models.py b/vrobbler/apps/scrobbles/models.py index 4bfa5c7..70666d9 100644 --- a/vrobbler/apps/scrobbles/models.py +++ b/vrobbler/apps/scrobbles/models.py @@ -766,7 +766,7 @@ class Scrobble(TimeStampedModel): mtype = media.__class__.__name__ # Do some funny stuff if it's a geo location - if scrobble.media_type == cls.MediaType.GEO_LOCATION: + if mtype == cls.MediaType.GEO_LOCATION: moved_location = cls.check_location_for_completion(media, user_id) if not moved_location: logger.info(