Fixed some pep8 & pyflakes errors

This commit is contained in:
rembo10
2015-12-21 15:28:44 -08:00
parent 561bed9fed
commit 33c8ea7e2b
2 changed files with 6 additions and 7 deletions

View File

@@ -333,13 +333,13 @@ class Api(object):
def _forceProcess(self, **kwargs):
if 'album_dir' in kwargs:
album_dir = kwargs['album_dir']
dir = None
postprocessor.forcePostProcess(self, dir, album_dir)
elif 'dir' in kwargs:
self.dir = kwargs['dir']
album_dir = kwargs['album_dir']
dir = None
postprocessor.forcePostProcess(self, dir, album_dir)
elif 'dir' in kwargs:
self.dir = kwargs['dir']
postprocessor.forcePostProcess(self.dir)
else:
else:
postprocessor.forcePostProcess()
def _forceActiveArtistsUpdate(self, **kwargs):

View File

@@ -14,7 +14,6 @@
# along with Headphones. If not, see <http://www.gnu.org/licenses/>.
import os
import headphones
import math
import headphones