mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-21 08:24:00 +01:00
Fixed some pep8 & pyflakes errors
This commit is contained in:
+6
-6
@@ -333,13 +333,13 @@ class Api(object):
|
|||||||
|
|
||||||
def _forceProcess(self, **kwargs):
|
def _forceProcess(self, **kwargs):
|
||||||
if 'album_dir' in kwargs:
|
if 'album_dir' in kwargs:
|
||||||
album_dir = kwargs['album_dir']
|
album_dir = kwargs['album_dir']
|
||||||
dir = None
|
dir = None
|
||||||
postprocessor.forcePostProcess(self, dir, album_dir)
|
postprocessor.forcePostProcess(self, dir, album_dir)
|
||||||
elif 'dir' in kwargs:
|
elif 'dir' in kwargs:
|
||||||
self.dir = kwargs['dir']
|
self.dir = kwargs['dir']
|
||||||
postprocessor.forcePostProcess(self.dir)
|
postprocessor.forcePostProcess(self.dir)
|
||||||
else:
|
else:
|
||||||
postprocessor.forcePostProcess()
|
postprocessor.forcePostProcess()
|
||||||
|
|
||||||
def _forceActiveArtistsUpdate(self, **kwargs):
|
def _forceActiveArtistsUpdate(self, **kwargs):
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
# along with Headphones. If not, see <http://www.gnu.org/licenses/>.
|
# along with Headphones. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import headphones
|
|
||||||
import math
|
import math
|
||||||
|
|
||||||
import headphones
|
import headphones
|
||||||
|
|||||||
Reference in New Issue
Block a user