From 3e35660ff31ededb00036877690a75e07979f681 Mon Sep 17 00:00:00 2001 From: Jack Wilsdon Date: Mon, 18 Apr 2016 15:36:05 +0100 Subject: [PATCH] Remove unnecessary escaping on double quotes --- beetsplug/hook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beetsplug/hook.py b/beetsplug/hook.py index a86395640..dad6779ce 100644 --- a/beetsplug/hook.py +++ b/beetsplug/hook.py @@ -51,10 +51,10 @@ class HookPlugin(BeetsPlugin): command_pieces = shlex.split(encoded_command) if len(command_pieces) == 0: - raise ConfigValueError('invalid command \"{0}\"'.format( + raise ConfigValueError('invalid command "{0}"'.format( command)) - self._log.debug('Running command \"{0}\" for event \"{1}\"', + self._log.debug('Running command "{0}" for event "{1}"', encoded_command, event) try: