Match uppercased tag names
This commit is contained in:
parent
4c0766b2c1
commit
0744c4403c
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ def edit_flac(args):
|
|||
def reverse_tag(vorbis_tag):
|
||||
"""Reverses a Vorbis tag to an argument name"""
|
||||
for tag in VORBIS_ARG_NAME:
|
||||
if VORBIS_ARG_NAME[tag] == vorbis_tag:
|
||||
if VORBIS_ARG_NAME[tag].upper() == vorbis_tag.upper():
|
||||
return tag
|
||||
raise NoSuchTag(vorbis_tag)
|
||||
|
||||
|
|
Loading…
Reference in a new issue