mirror of
https://github.com/beetbox/beets.git
synced 2025-12-12 19:42:23 +01:00
Fix failing test_a_album*_edit_apply tests by
excluding 'id' fields when storing within the Album model.
This commit is contained in:
parent
3587067c1f
commit
3c7f1223f6
1 changed files with 1 additions and 1 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Reference in a new issue