Make PRESERVED_TAGS a tuple rather than a list

This commit is contained in:
Laurent Monin
2019-12-09 12:24:56 +01:00
parent 007fd4e201
commit 91b9734d4c

View File

@@ -107,10 +107,17 @@ TAG_NAMES = {
'r128_track_gain': N_('R128 Track Gain'),
}
PRESERVED_TAGS = [
"~bitrate", "~bits_per_sample", "~format", "~channels", "~sample_rate",
"~dirname", "~filename", "~extension", "~video",
]
PRESERVED_TAGS = (
'~bitrate',
'~bits_per_sample',
'~channels',
'~dirname',
'~extension',
'~filename',
'~format',
'~sample_rate',
'~video',
)
def display_tag_name(name):