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/XupPl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/crypter/XupPl.py') diff --git a/module/plugins/crypter/XupPl.py b/module/plugins/crypter/XupPl.py index ea675b2d2..a95dca3c8 100644 --- a/module/plugins/crypter/XupPl.py +++ b/module/plugins/crypter/XupPl.py @@ -13,8 +13,8 @@ class XupPl(Crypter): __author_mail__ = "z00nx0@gmail.com" def decrypt(self, pyfile): - header = self.load(self.pyfile.url, just_header=True) + header = self.load(pyfile.url, just_header=True) if 'location' in header: - self.core.files.addLinks([header['location']], self.pyfile.package().id) + self.core.files.addLinks([header['location']], pyfile.package().id) else: self.fail('Unable to find link') -- cgit v1.2.3