From b8387e72fd3e679db00e03ebd3e3863bfbe8584a Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 14 Dec 2015 16:16:10 +0100 Subject: [crypters] Remove create_getInfo + minor code cosmetics (w/ strict comparison for numbers) --- module/plugins/crypter/FourChanOrg.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'module/plugins/crypter/FourChanOrg.py') diff --git a/module/plugins/crypter/FourChanOrg.py b/module/plugins/crypter/FourChanOrg.py index e038c2778..c63800e19 100644 --- a/module/plugins/crypter/FourChanOrg.py +++ b/module/plugins/crypter/FourChanOrg.py @@ -5,7 +5,7 @@ import re import urlparse -from module.plugins.internal.Crypter import Crypter, create_getInfo +from module.plugins.internal.Crypter import Crypter class FourChanOrg(Crypter): @@ -29,6 +29,3 @@ class FourChanOrg(Crypter): pagehtml = self.load(pyfile.url) images = set(re.findall(r'(images\.4chan\.org/[^/]*/src/[^"<]+)', pagehtml)) self.links = [urlparse.urljoin("http://", image) for image in images] - - -getInfo = create_getInfo(FourChanOrg) -- cgit v1.2.3