More linting

This commit is contained in:
multikatt 2015-04-06 18:11:38 -04:00
parent 540a267f9d
commit f2d298d17c

View file

@ -44,7 +44,6 @@ class IPFSPlugin(BeetsPlugin):
cmd.func = func
return [cmd]
def ipfs_add(self, lib):
try:
album_dir = lib.get().item_dir()
@ -53,7 +52,6 @@ class IPFSPlugin(BeetsPlugin):
self._log.info('Adding {0} to ipfs', album_dir)
call(["ipfs", "add", "-r", album_dir])
def ipfs_get(self, lib, hash):
call(["ipfs", "get", hash[0]])
self._log.info('Getting {0} from ipfs', hash[0])