diff options
| author | 2014-04-11 12:26:05 +0200 | |
|---|---|---|
| committer | 2014-04-21 17:22:19 +0200 | |
| commit | 41559c6d7c17862cc5640631e8a1bb7a00f923da (patch) | |
| tree | d268d8d659b3099f561f03a18e5efe4fbf29ef8a /pyload/plugins/crypter/DontKnowMe.py | |
| parent | Fix __pattern__ www (diff) | |
| download | pyload-41559c6d7c17862cc5640631e8a1bb7a00f923da.tar.xz | |
Use pyfile instead self.pyfile
Merges vuolter/pyload@b7f6e2e
(cherry picked from commit 4d978dedd16418a4e7d8c81bd819a6a5fa432057)
Diffstat (limited to 'pyload/plugins/crypter/DontKnowMe.py')
| -rw-r--r-- | pyload/plugins/crypter/DontKnowMe.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/pyload/plugins/crypter/DontKnowMe.py b/pyload/plugins/crypter/DontKnowMe.py index 1a7cf57bb..0df14f9ba 100644 --- a/pyload/plugins/crypter/DontKnowMe.py +++ b/pyload/plugins/crypter/DontKnowMe.py @@ -18,5 +18,5 @@ class DontKnowMe(Crypter):      LINK_PATTERN = r"http://dontknow.me/at/\?(.+)$"      def decrypt(self, pyfile): -        link = re.findall(self.LINK_PATTERN, self.pyfile.url)[0] -        self.core.files.addLinks([urllib.unquote(link)], self.pyfile.package().id) +        link = re.findall(self.LINK_PATTERN, pyfile.url)[0] +        self.core.files.addLinks([urllib.unquote(link)], pyfile.package().id) | 
