From 1b5ffd2a3c2bd41af4a8d44575adeeeadc029227 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 24 Apr 2024 14:06:49 -0700 Subject: [PATCH] [scrobbles] Fix pendulum bug --- vrobbler/apps/scrobbles/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrobbler/apps/scrobbles/models.py b/vrobbler/apps/scrobbles/models.py index 1818563..0873e4a 100644 --- a/vrobbler/apps/scrobbles/models.py +++ b/vrobbler/apps/scrobbles/models.py @@ -993,7 +993,7 @@ class Scrobble(TimeStampedModel): if existing_locations := location.in_proximity(named=True): existing_location = existing_locations.first() scrobble.scrobble_log[ - pendulum.now.timestamp + pendulum.now().timestamp ] = f"Location {location.id} too close to this scrobble" scrobble.save(update_fields=["scrobble_log"]) logger.info(