diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-09-26 15:39:33 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-09-26 15:39:33 +0200 |
commit | 76c67b22c0b2dbd275fae77e8a3121acb2d4301b (patch) | |
tree | 1b5db66ef14830ceaadeddd7ac0c84904f7647c9 /module/plugins/Crypter.py | |
parent | Remove ReCaptcha (diff) | |
download | pyload-76c67b22c0b2dbd275fae77e8a3121acb2d4301b.tar.xz |
Fix cookie deletion + Account support for SimpleCrypter
Fix: https://github.com/pyload/pyload/issues/749
Diffstat (limited to 'module/plugins/Crypter.py')
-rw-r--r-- | module/plugins/Crypter.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/module/plugins/Crypter.py b/module/plugins/Crypter.py index 74ae8d102..a4fc0e309 100644 --- a/module/plugins/Crypter.py +++ b/module/plugins/Crypter.py @@ -28,19 +28,16 @@ class Crypter(Plugin): self.limitDL = 0 - def preprocessing(self, thread): - """prepare""" - self.setup() - self.thread = thread - - self.decrypt(self.pyfile) - + def process(self, pyfile): + """ main method """ + self.decrypt(pyfile) self.createPackages() def decrypt(self, pyfile): raise NotImplementedError + def createPackages(self): """ create new packages from self.packages """ for pack in self.packages: |