From 4f2fe19e03ef718c79e8b59744277cdd80851ddc Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Tue, 19 Aug 2014 09:53:26 -0700 Subject: [PATCH] Flake8 fix in spotify --- beetsplug/spotify.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/beetsplug/spotify.py b/beetsplug/spotify.py index acc2ef3f2..59fe687a6 100644 --- a/beetsplug/spotify.py +++ b/beetsplug/spotify.py @@ -146,8 +146,9 @@ class SpotifyPlugin(BeetsPlugin): failure_count = len(failures) if failure_count > 0: if self.config['show_failures'].get(): - log.info(str(failure_count) + - " track(s) did not match a Spotify ID:") + log.info("{0} track(s) did not match a Spotify ID:".format( + failure_count + )) for track in failures: log.info("track:" + track) log.info("")