summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/LetitbitNetFolder.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:26:05 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:26:05 +0200
commit4d978dedd16418a4e7d8c81bd819a6a5fa432057 (patch)
treea347dae567c7e254b41df58e029f7bccfd5603a8 /module/plugins/crypter/LetitbitNetFolder.py
parentFix __pattern__ www (diff)
downloadpyload-4d978dedd16418a4e7d8c81bd819a6a5fa432057.tar.xz
Use pyfile instead self.pyfile
Merges vuolter/pyload@b7f6e2e
Diffstat (limited to 'module/plugins/crypter/LetitbitNetFolder.py')
-rw-r--r--module/plugins/crypter/LetitbitNetFolder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/LetitbitNetFolder.py b/module/plugins/crypter/LetitbitNetFolder.py
index 96499a666..0135bd891 100644
--- a/module/plugins/crypter/LetitbitNetFolder.py
+++ b/module/plugins/crypter/LetitbitNetFolder.py
@@ -17,7 +17,7 @@ class LetitbitNetFolder(Crypter):
LINK_PATTERN = r'<a href="([^"]+)" target="_blank">'
def decrypt(self, pyfile):
- html = self.load(self.pyfile.url)
+ html = self.load(pyfile.url)
new_links = []
@@ -28,6 +28,6 @@ class LetitbitNetFolder(Crypter):
new_links.extend(re.findall(self.LINK_PATTERN, folder.group(0)))
if new_links:
- self.core.files.addLinks(new_links, self.pyfile.package().id)
+ self.core.files.addLinks(new_links, pyfile.package().id)
else:
self.fail('Could not extract any links')