mirror of
https://github.com/beetbox/beets.git
synced 2025-12-26 10:34:09 +01:00
Fix log statement in inline
This commit is contained in:
parent
6756e0cda0
commit
021cdb7b4a
1 changed files with 3 additions and 2 deletions
|
|
@ -64,8 +64,9 @@ def compile_inline(python_code, album):
|
|||
try:
|
||||
func = _compile_func(python_code)
|
||||
except SyntaxError:
|
||||
log.error(u'syntax error in inline field definition:\n{0}',
|
||||
traceback.format_exc())
|
||||
log.error(u'syntax error in inline field definition:\n{0}'.format(
|
||||
traceback.format_exc()
|
||||
))
|
||||
return
|
||||
else:
|
||||
is_expr = False
|
||||
|
|
|
|||
Loading…
Reference in a new issue