[scrobbles] Fix circular dep problem in saving log data
This commit is contained in:
@ -948,7 +948,7 @@ class ScrobbleDetailView(DetailView):
|
|||||||
original_value = (self.object.log or {}).get(field_name)
|
original_value = (self.object.log or {}).get(field_name)
|
||||||
data[field_name] = original_value
|
data[field_name] = original_value
|
||||||
|
|
||||||
if data.get("with_people_ids", False):
|
if data.get("with_people_ids") is not None:
|
||||||
data["with_people_ids"] = [p.id for p in data["with_people_ids"]]
|
data["with_people_ids"] = [p.id for p in data["with_people_ids"]]
|
||||||
|
|
||||||
if data.get("platform_id", False):
|
if data.get("platform_id", False):
|
||||||
|
|||||||
Reference in New Issue
Block a user