Fix failing test_a_album*_edit_apply tests by

excluding 'id' fields when storing within the Album model.
This commit is contained in:
J0J0 Todos 2023-07-14 18:02:30 +02:00
parent 3587067c1f
commit 3c7f1223f6

View file

@ -1385,7 +1385,7 @@ class Album(LibModel):
track_updates[key] = self[key]
elif key not in self and inherit:
track_deletes.add(key)
elif inherit: # Must be a flex attr
elif key != 'id' and inherit: # Could be a flex attr or id
track_updates[key] = self[key]
with self._db.transaction():