fix the default write behaviour to the importer configuration

This commit is contained in:
Yann Leprince 2018-01-02 12:11:47 +01:00
parent 1f6335581e
commit 499cd378b7

View file

@ -1025,9 +1025,8 @@ class ReplayGainPlugin(BeetsPlugin):
help=u"analyze all files, including those that " help=u"analyze all files, including those that "
"already have ReplayGain metadata") "already have ReplayGain metadata")
cmd.parser.add_option( cmd.parser.add_option(
"-w", "--write", dest="write", "-w", "--write", default=None, action="store_true",
action="store_true", help=u"write new metadata to files' tags")
help=u"write new metadata to files' tags (default)")
cmd.parser.add_option( cmd.parser.add_option(
"-W", "--nowrite", dest="write", action="store_false", "-W", "--nowrite", dest="write", action="store_false",
help=u"don't write metadata (opposite of -w)") help=u"don't write metadata (opposite of -w)")