Explorar el Código

[locations] Flip the logic on whether we've moved

Colin Powell hace 1 año
padre
commit
27523bc7ff
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      vrobbler/apps/scrobbles/models.py

+ 1 - 1
vrobbler/apps/scrobbles/models.py

@@ -697,7 +697,7 @@ class Scrobble(TimeStampedModel):
             logger.info(f"No - stale - {self.id} - {self.source}")
             updatable = False
         if self.media_obj.__class__.__name__ in ["GeoLocation"]:
-            updatable = not self.has_moved
+            updatable = self.has_moved
         return updatable
 
     @property