From 021cdb7b4aa22a53dd144bbb9fb4cd3d607a8b88 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sat, 20 Dec 2014 20:06:17 -0500 Subject: [PATCH] Fix log statement in inline --- beetsplug/inline.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/beetsplug/inline.py b/beetsplug/inline.py index 33c24b777..1ce4eb788 100644 --- a/beetsplug/inline.py +++ b/beetsplug/inline.py @@ -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