Ensure tag is str

This commit is contained in:
nathom 2021-03-28 13:56:15 -07:00
parent 076a5bf2f7
commit abbc54f07e
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ class TrackMetadata:
tag = getattr(self, k)
if tag:
logger.debug(f"Adding tag {v}: {repr(tag)}")
yield (v, tag)
yield (v, str(tag))
def __gen_mp3_tags(self) -> Tuple[str, str]:
"""Generate key, value pairs to tag MP3 files.