Remove unnecessary escaping on double quotes

This commit is contained in:
Jack Wilsdon 2016-04-18 15:36:05 +01:00
parent 686e069bc4
commit 3e35660ff3

View file

@ -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: