mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
Pep8 bugfix
This commit is contained in:
parent
f99b4841df
commit
6e179d86e6
1 changed files with 3 additions and 3 deletions
|
|
@ -111,14 +111,14 @@ class AcousticBrainzSubmitPlugin(plugins.BeetsPlugin):
|
|||
u'-d', u'--dry', dest='dry_fetch',
|
||||
action='store_true', default=False,
|
||||
help=u'dry run, show files which would be processed'
|
||||
)
|
||||
)
|
||||
cmd.func = self.command
|
||||
return [cmd]
|
||||
|
||||
def command(self, lib, opts, args):
|
||||
# Get items from arguments
|
||||
items = lib.items(ui.decargs(args))
|
||||
self.opts=opts
|
||||
self.opts = opts
|
||||
util.par_map(self.analyze_submit, items)
|
||||
|
||||
def analyze_submit(self, item):
|
||||
|
|
@ -141,7 +141,7 @@ class AcousticBrainzSubmitPlugin(plugins.BeetsPlugin):
|
|||
return None
|
||||
|
||||
if self.opts.dry_fetch or self.config['dry']:
|
||||
self._log.info(u'dry run - extract item: {}', item)
|
||||
self._log.info(u'dry run - extract item: {}', item)
|
||||
return None
|
||||
|
||||
# Temporary file to save extractor output to, extractor only works
|
||||
|
|
|
|||
Loading…
Reference in a new issue