Match uppercased tag names
This commit is contained in:
parent
4c0766b2c1
commit
0744c4403c
|
@ -116,7 +116,7 @@ def edit_flac(args):
|
||||||
def reverse_tag(vorbis_tag):
|
def reverse_tag(vorbis_tag):
|
||||||
"""Reverses a Vorbis tag to an argument name"""
|
"""Reverses a Vorbis tag to an argument name"""
|
||||||
for tag in VORBIS_ARG_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
|
return tag
|
||||||
raise NoSuchTag(vorbis_tag)
|
raise NoSuchTag(vorbis_tag)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue