mirror of
https://github.com/beetbox/beets.git
synced 2026-01-30 20:13:37 +01:00
Fix ipfs plugin and test_ipfs
by using store(inherit=False) for the creation of a new "ipfs album" as well as when test_ipfs creates album+items to compare with. Or put differently: Make ipfs and test_ipfs keep the old store() behaviour for which the plugin initially was built for.
This commit is contained in:
parent
94d00418b4
commit
8d835b8cab
2 changed files with 2 additions and 2 deletions
|
|
@ -296,4 +296,4 @@ class IPFSPlugin(BeetsPlugin):
|
|||
self._log.info("Adding '{0}' to temporary library", album)
|
||||
new_album = tmplib.add_album(items)
|
||||
new_album.ipfs = album.ipfs
|
||||
new_album.store()
|
||||
new_album.store(inherit=False)
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ class IPFSPluginTest(unittest.TestCase, TestHelper):
|
|||
|
||||
album = self.lib.add_album(items)
|
||||
album.ipfs = "QmfM9ic5LJj7V6ecozFx1MkSoaaiq3PXfhJoFvyqzpLXSf"
|
||||
album.store()
|
||||
album.store(inherit=False)
|
||||
|
||||
return album
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue