diff --git a/vrobbler/apps/scrobbles/views.py b/vrobbler/apps/scrobbles/views.py index 4f93bd5..cde3a02 100644 --- a/vrobbler/apps/scrobbles/views.py +++ b/vrobbler/apps/scrobbles/views.py @@ -824,6 +824,9 @@ class ScrobbleDetailView(DetailView): if data.get("platform_id", False): data["platform_id"] = data["platform_id"].id + if data.get("location_id", False): + data["location_id"] = data["location_id"].id + self.object.log = data self.object.save(update_fields=["log"]) return redirect(self.object.get_absolute_url())