From f82f5f51a4a5f86d67bd86c9222395f9c377d003 Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Sun, 10 Jul 2016 06:00:53 -0400 Subject: [PATCH] use !r for command exec logging in play plugin This is a bit simpler and is compatible with py2 and 3. --- beetsplug/play.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/beetsplug/play.py b/beetsplug/play.py index 7d5b4c227..27da15b37 100644 --- a/beetsplug/play.py +++ b/beetsplug/play.py @@ -137,8 +137,7 @@ class PlayPlugin(BeetsPlugin): else: open_args = [self._create_tmp_playlist(paths)] - self._log.debug(u'executing command: {} {}', command_str, - util.text_string(b' '.join(open_args))) + self._log.debug(u'executing command: {} {!r}', command_str, open_args) try: util.interactive_open(open_args, command_str) except OSError as exc: