From 4b61d36bf18931df0a9720047b3619ce245f8a1b 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 --- module/plugins/crypter/HotfileFolderCom.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'module/plugins/crypter/HotfileFolderCom.py') diff --git a/module/plugins/crypter/HotfileFolderCom.py b/module/plugins/crypter/HotfileFolderCom.py index 00771e2a3..79691ad01 100644 --- a/module/plugins/crypter/HotfileFolderCom.py +++ b/module/plugins/crypter/HotfileFolderCom.py @@ -5,6 +5,7 @@ import re from module.plugins.Crypter import Crypter + class HotfileFolderCom(Crypter): __name__ = "HotfileFolderCom" __type__ = "crypter" @@ -17,9 +18,11 @@ class HotfileFolderCom(Crypter): def decrypt(self, pyfile): html = self.load(pyfile.url) - name = re.findall(r'([^<]+)', html, re.MULTILINE)[0].replace("/", "") + name = re.findall( + r'([^<]+)', html, + re.MULTILINE)[0].replace("/", "") new_links = re.findall(r'href="(http://(www.)?hotfile\.com/dl/\d+/[0-9a-zA-Z]+[^"]+)', html) new_links = [x[0] for x in new_links] - self.packages.append((name, new_links, name)) \ No newline at end of file + self.packages.append((name, new_links, name)) -- cgit v1.2.3