fix: glitch sound when stopping music

This commit is contained in:
Terry Geng
2020-05-22 22:49:05 +08:00
parent 9692570ec2
commit 662396bcc5
2 changed files with 33 additions and 18 deletions

View File

@ -82,7 +82,7 @@ class BaseItem:
def add_tags(self, tags):
for tag in tags:
if tag not in self.tags:
if tag and tag not in self.tags:
self.tags.append(tag)
self.version += 1