diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-14 19:29:47 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-14 19:29:47 +0200 |
commit | 310eff44408075a3563284e74f3a72fd82d2c5ab (patch) | |
tree | 318de3ed0fbb015fb8c970826d82e37c85ad9c81 /module/plugins/internal | |
parent | Update Account (diff) | |
download | pyload-310eff44408075a3563284e74f3a72fd82d2c5ab.tar.xz |
Crypter back to Plugin class
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/Crypter.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/module/plugins/internal/Crypter.py b/module/plugins/internal/Crypter.py index 182354287..3db36ca8e 100644 --- a/module/plugins/internal/Crypter.py +++ b/module/plugins/internal/Crypter.py @@ -2,11 +2,11 @@ import urlparse -from module.plugins.internal.Hoster import Hoster +from module.plugins.internal.Plugin import Plugin from module.utils import decode, save_path -class Crypter(Hoster): +class Crypter(Plugin): """ Base plugin for crypter. Overwrite `decrypt` in your subclassed plugin. @@ -29,6 +29,8 @@ class Crypter(Hoster): def __init__(self, pyfile): + super(Crypter, self).__init__(self, pyfile) + #: Provide information in dict here self.info = {} #@TODO: Move to Plugin @@ -38,7 +40,8 @@ class Crypter(Hoster): #: List of urls, pyLoad will generate packagenames self.urls = [] - Plugin.__init__(self, pyfile) + self.multiDL = True + self.limitDL = 0 def process(self, pyfile): |