summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/Dereferer.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-21 15:03:21 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-21 15:03:21 +0200
commit4b61d36bf18931df0a9720047b3619ce245f8a1b (patch)
treefa6214ca6c85eb547dfe7de1ec7502ff3ce71793 /module/plugins/crypter/Dereferer.py
parentNormalize line endings to avoid line endings merge conflicts (diff)
downloadpyload-4b61d36bf18931df0a9720047b3619ce245f8a1b.tar.xz
Fixed PEP 8 violations in Crypters
Diffstat (limited to 'module/plugins/crypter/Dereferer.py')
-rw-r--r--module/plugins/crypter/Dereferer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/crypter/Dereferer.py b/module/plugins/crypter/Dereferer.py
index 584835e18..7b7c34fee 100644
--- a/module/plugins/crypter/Dereferer.py
+++ b/module/plugins/crypter/Dereferer.py
@@ -20,6 +20,7 @@ import urllib
from module.plugins.Crypter import Crypter
+
class Dereferer(Crypter):
__name__ = "Dereferer"
__type__ = "crypter"
@@ -31,4 +32,4 @@ class Dereferer(Crypter):
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)
+ self.core.files.addLinks([urllib.unquote(link).rstrip('+')], self.pyfile.package().id)