From a4c9990df1244de7d72cb531b280bc50b6f1c745 Mon Sep 17 00:00:00 2001 From: satreix Date: Fri, 26 Feb 2016 19:33:30 +0100 Subject: [PATCH] pep: fix e262 --- .pep8 | 3 +-- headphones/searcher.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.pep8 b/.pep8 index daa763d1..548f124a 100644 --- a/.pep8 +++ b/.pep8 @@ -7,9 +7,8 @@ # E127 continuation line over-indented for visual indent # E128 continuation line under-indented for visual indent # E261 at least two spaces before inline comment -# E262 inline comment should start with '# ' # E265 block comment should start with '# ' # E501 line too long (312 > 160 characters) # E502 the backslash is redundant between brackets -ignore = E121,E122,E123,E124,E125,E126,E127,E128,E261,E262,E265,E501,E502 +ignore = E121,E122,E123,E124,E125,E126,E127,E128,E261,E265,E501,E502 max-line-length = 160 diff --git a/headphones/searcher.py b/headphones/searcher.py index 5c8b4144..01578d70 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -1779,7 +1779,7 @@ def preprocess(resultlist): return ruobj.get_torrent_data(result[2]), result # Get out of here if we're using Transmission - if headphones.CONFIG.TORRENT_DOWNLOADER == 1: ## if not a magnet link still need the .torrent to generate hash... uTorrent support labeling + if headphones.CONFIG.TORRENT_DOWNLOADER == 1: # if not a magnet link still need the .torrent to generate hash... uTorrent support labeling return True, result # Get out of here if it's a magnet link if result[2].lower().startswith("magnet:"):