mirror of
https://github.com/beetbox/beets.git
synced 2026-02-20 06:14:22 +01:00
Fix #1001: plugin conflict error message printing
This commit is contained in:
parent
dfb7cc25f5
commit
67b7b87d82
1 changed files with 4 additions and 2 deletions
|
|
@ -265,8 +265,10 @@ def types(model_cls):
|
|||
if field in types:
|
||||
raise PluginConflictException(
|
||||
u'Plugin {0} defines flexible field {1} '
|
||||
'which has already been defined.'
|
||||
.format(plugin.name,))
|
||||
'which has already been defined.'.format(
|
||||
plugin.name, field
|
||||
)
|
||||
)
|
||||
types.update(plugin_types)
|
||||
return types
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue