summaryrefslogtreecommitdiffstats
path: root/module/plugins/Container.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-04 14:40:38 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-04 14:40:38 +0200
commitc923c14901a2e9215c42f072607a1cc3ffe675ab (patch)
tree3dc3ae59a2f5a9dc479af7621ead7cda2f9e3fb5 /module/plugins/Container.py
parentmore fixing (diff)
downloadpyload-c923c14901a2e9215c42f072607a1cc3ffe675ab.tar.xz
some fixes
Diffstat (limited to 'module/plugins/Container.py')
-rw-r--r--module/plugins/Container.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/Container.py b/module/plugins/Container.py
index 9795ec98a..1539ea37e 100644
--- a/module/plugins/Container.py
+++ b/module/plugins/Container.py
@@ -17,11 +17,10 @@
@author: mkaay
"""
-### can be left blank and removed in future, no seperation of crypter and container needed atm.
-
from module.plugins.Crypter import Crypter
from os.path import join, exists, basename
+from os import remove
class Container(Crypter):
__name__ = "Container"
@@ -38,6 +37,8 @@ class Container(Crypter):
def preprocessing(self, thread):
"""prepare"""
self.thread = thread
+
+ self.loadToDisk()
self.decrypt(self.pyfile)
self.deleteTmp()
@@ -71,6 +72,6 @@ class Container(Crypter):
#----------------------------------------------------------------------
def deleteTmp(self):
if self.pyfile.name.startswith("tmp_"):
- os.remove(self.pyfile.url)
+ remove(self.pyfile.url)