mirror of
https://github.com/beetbox/beets.git
synced 2026-01-06 07:53:40 +01:00
Silence pep8 warning.
This commit is contained in:
parent
46f7ce78f1
commit
7db09c6aba
1 changed files with 2 additions and 1 deletions
|
|
@ -81,7 +81,8 @@ class MusicBrainzCollectionPlugin(BeetsPlugin):
|
|||
collection = self.config['collection'].as_str()
|
||||
if collection:
|
||||
if collection not in collection_ids:
|
||||
raise ui.UserError(u'invalid collection ID: {0}'.format(collection))
|
||||
raise ui.UserError(u'invalid collection ID: {}'
|
||||
.format(collection))
|
||||
return collection
|
||||
|
||||
# No specified collection. Just return the first collection ID
|
||||
|
|
|
|||
Loading…
Reference in a new issue