Fix E703 statement ends with a semicolon

This commit is contained in:
Jesse Mullan
2014-11-01 16:24:42 -07:00
parent b7abdf1973
commit 4d85878921
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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: