diff --git a/vrobbler/apps/scrobbles/models.py b/vrobbler/apps/scrobbles/models.py index 928dc5a..f11495a 100644 --- a/vrobbler/apps/scrobbles/models.py +++ b/vrobbler/apps/scrobbles/models.py @@ -1043,8 +1043,9 @@ class Scrobble(TimeStampedModel): if existing_locations := location.in_proximity(named=True): existing_location = existing_locations.first() + ts = int(pendulum.now().timestamp()) scrobble.log[ - pendulum.now().timestamp + ts ] = f"Location {location.id} too close to this scrobble" scrobble.save(update_fields=["log"]) logger.info(