From 4d978dedd16418a4e7d8c81bd819a6a5fa432057 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 --- module/plugins/crypter/Dereferer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/crypter/Dereferer.py') diff --git a/module/plugins/crypter/Dereferer.py b/module/plugins/crypter/Dereferer.py index 46001918f..4b6309c17 100644 --- a/module/plugins/crypter/Dereferer.py +++ b/module/plugins/crypter/Dereferer.py @@ -31,5 +31,5 @@ class Dereferer(Crypter): __author_mail__ = "zoidberg@mujmail.cz" def decrypt(self, pyfile): - link = re.match(self.__pattern__, self.pyfile.url).group('url') - self.core.files.addLinks([urllib.unquote(link).rstrip('+')], self.pyfile.package().id) + link = re.match(self.__pattern__, pyfile.url).group('url') + self.core.files.addLinks([urllib.unquote(link).rstrip('+')], pyfile.package().id) -- cgit v1.2.3