From dd30ed460dca651a840f66c4bcc4d205831bba78 Mon Sep 17 00:00:00 2001 From: satreix Date: Thu, 25 Feb 2016 12:33:38 +0100 Subject: [PATCH] pep: fix E111 --- .pep8 | 3 +-- headphones/postprocessor.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.pep8 b/.pep8 index 9dc3362c..fdb4aede 100644 --- a/.pep8 +++ b/.pep8 @@ -1,5 +1,4 @@ [pep8] -# E111 indentation is not a multiple of four # E121 continuation line under-indented for hanging indent # E122 continuation line missing indentation or outdented # E124 closing bracket does not match visual indentation @@ -13,5 +12,5 @@ # E302 expected 2 blank lines, found 1 # E501 line too long (312 > 160 characters) # E502 the backslash is redundant between brackets -ignore = E111,E121,E122,E123,E124,E125,E126,E127,E128,E261,E262,E265,E302,E501,E502 +ignore = E121,E122,E123,E124,E125,E126,E127,E128,E261,E262,E265,E302,E501,E502 max-line-length = 160 \ No newline at end of file diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index c345231b..507a5571 100755 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -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('/', '_')