updated to pass pep8 checks

This commit is contained in:
konman2 2017-10-07 21:28:33 -07:00
parent fdeef05cc9
commit 578143ae12
2 changed files with 2 additions and 3 deletions

View file

@ -166,6 +166,7 @@ class EmbedCoverArtPlugin(BeetsPlugin):
clear_cmd.parser.add_option(
u"-y", u"--yes", action="store_true", help=u"skip confirmation"
)
def clear_func(lib, opts, args):
items = lib.items(decargs(args))
# Confirm with user.

View file

@ -204,9 +204,8 @@ class EmbedartCliTest(_common.TestCase, TestHelper):
self.io.addinput('y')
self.run_command('clearart')
mediafile = MediaFile(syspath(item.path))
#print(mediafile.images[0].data == self.image_data)
self.assertEqual(len(mediafile.images), 0)
def test_clear_art_with_no_input(self):
self._setup_data()
album = self.add_album_fixture()
@ -216,7 +215,6 @@ class EmbedartCliTest(_common.TestCase, TestHelper):
self.io.addinput('n')
self.run_command('clearart')
mediafile = MediaFile(syspath(item.path))
#print(mediafile.images[0].data == self.image_data)
self.assertEqual(mediafile.images[0].data, self.image_data)