Fix timestamp updated with every tick

This commit is contained in:
2023-06-05 22:20:14 -04:00
parent 40fc4d21d3
commit 6e97298949

View File

@ -726,6 +726,7 @@ class Scrobble(TimeStampedModel):
scrobble_data.pop("timestamp", None) or timezone.now()
)
scrobble_data.pop("timestamp")
update_fields = []
for key, value in scrobble_data.items():
setattr(self, key, value)