diff --git a/flacinfo.py b/flacinfo.py index e676ab2..35becaf 100755 --- a/flacinfo.py +++ b/flacinfo.py @@ -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)