From 4d858789213f183927a36aabcec99b01dfd5f538 Mon Sep 17 00:00:00 2001 From: Jesse Mullan Date: Sat, 1 Nov 2014 16:24:42 -0700 Subject: [PATCH] Fix E703 statement ends with a semicolon --- headphones/importer.py | 2 +- headphones/searcher.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/headphones/importer.py b/headphones/importer.py index a7e3ae3d..495b610c 100644 --- a/headphones/importer.py +++ b/headphones/importer.py @@ -781,7 +781,7 @@ def getHybridRelease(fullreleaselist): # 'None' will put it at the top which was normal behaviour for pre-ngs # versions if releaseDate is None: - return 'None'; + return 'None' if releaseDate.count('-') == 2: return releaseDate diff --git a/headphones/searcher.py b/headphones/searcher.py index 425601aa..8aaf1407 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -310,7 +310,7 @@ def more_filtering(results, album, albumlength, new): normalizedAlbumArtist = removeDisallowedFilenameChars(album['ArtistName']) normalizedAlbumTitle = removeDisallowedFilenameChars(album['AlbumTitle']) - normalizedResultTitle = removeDisallowedFilenameChars(result[0]); + normalizedResultTitle = removeDisallowedFilenameChars(result[0]) artistTitleCount = normalizedResultTitle.count(normalizedAlbumArtist) if normalizedAlbumArtist in normalizedAlbumTitle and artistTitleCount < 2: