[scrobbles] Fix pendulum bug
This commit is contained in:
@ -993,7 +993,7 @@ class Scrobble(TimeStampedModel):
|
|||||||
if existing_locations := location.in_proximity(named=True):
|
if existing_locations := location.in_proximity(named=True):
|
||||||
existing_location = existing_locations.first()
|
existing_location = existing_locations.first()
|
||||||
scrobble.scrobble_log[
|
scrobble.scrobble_log[
|
||||||
pendulum.now.timestamp
|
pendulum.now().timestamp
|
||||||
] = f"Location {location.id} too close to this scrobble"
|
] = f"Location {location.id} too close to this scrobble"
|
||||||
scrobble.save(update_fields=["scrobble_log"])
|
scrobble.save(update_fields=["scrobble_log"])
|
||||||
logger.info(
|
logger.info(
|
||||||
|
|||||||
Reference in New Issue
Block a user