diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-16 00:46:26 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-16 00:46:26 +0200 |
commit | a1e78f33dc2b0b6777fdcbc415673f3965b25542 (patch) | |
tree | 4f2f0c9d7592482409740be8647f8f6849d30681 /module/plugins/crypter/XupPl.py | |
parent | [StealthTo] Mark dead (diff) | |
download | pyload-a1e78f33dc2b0b6777fdcbc415673f3965b25542.tar.xz |
Prefer self.urls and self.packages for adding links
Diffstat (limited to 'module/plugins/crypter/XupPl.py')
-rw-r--r-- | module/plugins/crypter/XupPl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/crypter/XupPl.py b/module/plugins/crypter/XupPl.py index 09c3084ea..e89f4ccb0 100644 --- a/module/plugins/crypter/XupPl.py +++ b/module/plugins/crypter/XupPl.py @@ -18,6 +18,6 @@ class XupPl(Crypter): def decrypt(self, pyfile): header = self.load(pyfile.url, just_header=True) if 'location' in header: - self.core.files.addLinks([header['location']], pyfile.package().id) + self.urls = [header['location']] else: self.fail('Unable to find link') |