From e5c6b5e8d93f278af45d4f6525c0055e109b8382 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sat, 10 Feb 2024 14:43:46 -0500 Subject: [PATCH] [locations] Fix updating locations one more time --- vrobbler/apps/scrobbles/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vrobbler/apps/scrobbles/models.py b/vrobbler/apps/scrobbles/models.py index 0cc70b7..51e03bb 100644 --- a/vrobbler/apps/scrobbles/models.py +++ b/vrobbler/apps/scrobbles/models.py @@ -698,10 +698,10 @@ class Scrobble(TimeStampedModel): updatable = False if ( self.media_obj.__class__.__name__ in ["GeoLocation"] - and self.has_moved + and not self.has_moved ): - logger.info(f"No - we've moved- {self.id} - {self.source}") - updatable = False + logger.info(f"Yes - in the same place - {self.id} - {self.source}") + updatable = True return updatable @property