From 41559c6d7c17862cc5640631e8a1bb7a00f923da Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 11 Apr 2014 12:26:05 +0200 Subject: Use pyfile instead self.pyfile Merges vuolter/pyload@b7f6e2e (cherry picked from commit 4d978dedd16418a4e7d8c81bd819a6a5fa432057) --- pyload/plugins/crypter/EmbeduploadCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/plugins/crypter/EmbeduploadCom.py') diff --git a/pyload/plugins/crypter/EmbeduploadCom.py b/pyload/plugins/crypter/EmbeduploadCom.py index dd0fcb533..2beabcefd 100644 --- a/pyload/plugins/crypter/EmbeduploadCom.py +++ b/pyload/plugins/crypter/EmbeduploadCom.py @@ -19,7 +19,7 @@ class EmbeduploadCom(Crypter): LINK_PATTERN = r'
]*>\s*' def decrypt(self, pyfile): - self.html = self.load(self.pyfile.url, decode=True) + self.html = self.load(pyfile.url, decode=True) tmp_links = [] new_links = [] @@ -39,7 +39,7 @@ class EmbeduploadCom(Crypter): self.getLocation(tmp_links, new_links) 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') -- cgit v1.2.3