pep: fix E111

This commit is contained in:
satreix
2016-02-25 12:33:38 +01:00
parent 0eb8702a8e
commit dd30ed460d
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -676,9 +676,9 @@ def renameNFO(albumpath):
def moveFiles(albumpath, release, tracks):
logger.info("Moving files: %s" % albumpath)
try:
date = release['ReleaseDate']
date = release['ReleaseDate']
except TypeError:
date = u''
date = u''
year = date[:4]
artist = release['ArtistName'].replace('/', '_')
album = release['AlbumTitle'].replace('/', '_')