[locations] Fix updating locations one more time
This commit is contained in:
@ -698,10 +698,10 @@ class Scrobble(TimeStampedModel):
|
|||||||
updatable = False
|
updatable = False
|
||||||
if (
|
if (
|
||||||
self.media_obj.__class__.__name__ in ["GeoLocation"]
|
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}")
|
logger.info(f"Yes - in the same place - {self.id} - {self.source}")
|
||||||
updatable = False
|
updatable = True
|
||||||
return updatable
|
return updatable
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
Reference in New Issue
Block a user