From dd0ce967c829ffb652355176eea3fb41f2f9f830 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Mon, 25 Mar 2024 16:45:50 -0400 Subject: [PATCH] [scrobbles] Fix bad update fields call --- 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 92c7760..40a81d3 100644 --- a/vrobbler/apps/scrobbles/models.py +++ b/vrobbler/apps/scrobbles/models.py @@ -964,7 +964,7 @@ class Scrobble(TimeStampedModel): scrobble.scrobble_log + "\nLocation {location.id} too close to this scrobble" ) - scrobble.save(update_fields=[scrobble_log]) + scrobble.save(update_fields=["scrobble_log"]) logger.info( f"[scrobbling] finished - found existing named location", extra={