[scrobbles] Fix timestamp log marker for locations

This commit is contained in:
2024-06-07 01:27:58 -04:00
parent 2c5516ae4e
commit 0fa89af1d9

View File

@ -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(