mirror of
https://github.com/beetbox/beets.git
synced 2025-12-25 18:13:17 +01:00
fixed adding tags where they already existed (but were empty)
This commit is contained in:
parent
7dadbc6734
commit
959c6e55c3
2 changed files with 3 additions and 1 deletions
2
NEWS
2
NEWS
|
|
@ -33,6 +33,8 @@
|
|||
record would stay around although the items were deleted.
|
||||
* The setup script now makes a beet.exe startup stub on Windows;
|
||||
Windows users can now just type "beet" at the prompt to run beets.
|
||||
* Fixed an occasional bug where Mutagen would complain that a tag was
|
||||
already present.
|
||||
|
||||
1.0b3
|
||||
-----
|
||||
|
|
|
|||
|
|
@ -492,7 +492,7 @@ class MediaFile(object):
|
|||
type(self.mgfile).__name__)
|
||||
|
||||
# add a set of tags if it's missing
|
||||
if not self.mgfile.tags:
|
||||
if self.mgfile.tags is None:
|
||||
self.mgfile.add_tags()
|
||||
|
||||
def save(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue