From 3b6373541ad76030d39cf6bc998656c714266670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20R=C3=BCmpelein?= Date: Sun, 5 Jul 2015 15:00:46 +0200 Subject: [PATCH] Fixed Errors indicated by travis-ci See https://travis-ci.org/sampsyo/beets/jobs/69335554 --- beetsplug/play.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/beetsplug/play.py b/beetsplug/play.py index 3e8e51d25..0a51789d3 100644 --- a/beetsplug/play.py +++ b/beetsplug/play.py @@ -44,8 +44,11 @@ class PlayPlugin(BeetsPlugin): help='send music to a player as a playlist' ) play_command.parser.add_album_option() - play_command.parser.add_option('-o','--optargs',action='store_true', - help='Insert additional arguments into command string') + play_command.parser.add_option( + '-o', '--optargs', + action='store_true', + help='Insert additional arguments into command string' + ) play_command.func = self.play_music return [play_command] @@ -62,9 +65,9 @@ class PlayPlugin(BeetsPlugin): # Prepare command strings with optional args if opts.optargs: - command_str=command_str.format(optargs or '') + command_str = command_str.format(optargs or '') else: - command_str=command_str.format('') + command_str = command_str.format('') # Perform search by album and add folders rather than tracks to # playlist.