diff options
author | 2014-04-11 12:26:05 +0200 | |
---|---|---|
committer | 2014-04-11 12:26:05 +0200 | |
commit | 4d978dedd16418a4e7d8c81bd819a6a5fa432057 (patch) | |
tree | a347dae567c7e254b41df58e029f7bccfd5603a8 /module/plugins/crypter/SafelinkingNet.py | |
parent | Fix __pattern__ www (diff) | |
download | pyload-4d978dedd16418a4e7d8c81bd819a6a5fa432057.tar.xz |
Use pyfile instead self.pyfile
Merges vuolter/pyload@b7f6e2e
Diffstat (limited to 'module/plugins/crypter/SafelinkingNet.py')
-rw-r--r-- | module/plugins/crypter/SafelinkingNet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/SafelinkingNet.py b/module/plugins/crypter/SafelinkingNet.py index 8a11d13a1..4a907c28d 100644 --- a/module/plugins/crypter/SafelinkingNet.py +++ b/module/plugins/crypter/SafelinkingNet.py @@ -27,7 +27,7 @@ class SafelinkingNet(Crypter): self.load(url) m = re.search("^Location: (.+)$", self.req.http.header, re.MULTILINE) if m: - self.core.files.addLinks([m.group(1)], self.pyfile.package().id) + self.core.files.addLinks([m.group(1)], pyfile.package().id) else: self.fail("Couldn't find forwarded Link") @@ -77,4 +77,4 @@ class SafelinkingNet(Crypter): else: packageLinks.append(link["full"]) - self.core.files.addLinks(packageLinks, self.pyfile.package().id) + self.core.files.addLinks(packageLinks, pyfile.package().id) |