From f83389333ec10376452aa5f6d5ccd3963c6bafa1 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 27 Jul 2015 10:28:30 +0200 Subject: Update internal plugins --- module/plugins/internal/Container.py | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'module/plugins/internal/Container.py') diff --git a/module/plugins/internal/Container.py b/module/plugins/internal/Container.py index c7a6828c7..ec2d429dd 100644 --- a/module/plugins/internal/Container.py +++ b/module/plugins/internal/Container.py @@ -13,7 +13,7 @@ from module.utils import save_join as fs_join class Container(Crypter): __name__ = "Container" __type__ = "container" - __version__ = "0.05" + __version__ = "0.06" __status__ = "testing" __pattern__ = r'^unmatchable$' @@ -24,18 +24,22 @@ class Container(Crypter): __authors__ = [("mkaay", "mkaay@mkaay.de")] - def preprocessing(self, thread): + def process(self, pyfile): """ - Prepare + Main method """ - self.setup() - self.thread = thread - self._load2disk() - self.decrypt(self.pyfile) + self.decrypt(pyfile) + self.delete_tmp() + if self.urls: + self._generate_packages() + + elif not self.packages: + self.error(_("No link grabbed"), "decrypt") + self._create_packages() -- cgit v1.2.3