From ff581d9a4a1637b4e06bcbe77d67591f9279fe1b Mon Sep 17 00:00:00 2001 From: Stefano Date: Sun, 21 Jul 2013 15:03:21 +0200 Subject: Fixed PEP 8 violations in Crypters (cherry-picked from 4b61d36bf18931df0a9720047b3619ce245f8a1b) --- pyload/plugins/crypter/FilefactoryComFolder.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pyload/plugins/crypter/FilefactoryComFolder.py') diff --git a/pyload/plugins/crypter/FilefactoryComFolder.py b/pyload/plugins/crypter/FilefactoryComFolder.py index 32793b491..64b8ac37e 100644 --- a/pyload/plugins/crypter/FilefactoryComFolder.py +++ b/pyload/plugins/crypter/FilefactoryComFolder.py @@ -3,6 +3,7 @@ import re from module.plugins.Crypter import Crypter + class FilefactoryComFolder(Crypter): __name__ = "FilefactoryComFolder" __type__ = "crypter" @@ -22,7 +23,7 @@ class FilefactoryComFolder(Crypter): html = self.load(url_base) new_links = [] - for i in range(1,100): + for i in range(1, 100): self.logInfo("Fetching links from page %i" % i) found = re.search(self.FOLDER_PATTERN, html, re.DOTALL) if found is None: self.fail("Parse error (FOLDER)") @@ -41,4 +42,4 @@ class FilefactoryComFolder(Crypter): if new_links: self.core.files.addLinks(new_links, self.pyfile.package().id) else: - self.fail('Could not extract any links') \ No newline at end of file + self.fail('Could not extract any links') -- cgit v1.2.3