summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Christian Käslin <c.kaeslin@gmx.ch> 2015-12-29 15:18:14 +0100
committerGravatar Christian Käslin <c.kaeslin@gmx.ch> 2015-12-29 15:18:14 +0100
commitde7bdc2586a912b5ccf18d3c83a73001668fb7e0 (patch)
tree6889d881f9862560381d8436ec292c430a9ea86a /module/plugins
parent[ExternalScripts] Fix https://github.com/pyload/pyload/issues/2225 (diff)
downloadpyload-de7bdc2586a912b5ccf18d3c83a73001668fb7e0.tar.xz
added missing self
dlc decryption was failing, with error Decrypting failed:****.dlc | global name 'pyfile' is not defined debug mode showed missing self
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/internal/Container.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/Container.py b/module/plugins/internal/Container.py
index db14a286e..9255bade7 100644
--- a/module/plugins/internal/Container.py
+++ b/module/plugins/internal/Container.py
@@ -48,7 +48,7 @@ class Container(Crypter):
def _delete_tmpfile(self):
if self.pyfile.name.startswith("tmp_"):
- self.remove(pyfile.url, trash=False)
+ self.remove(self.pyfile.url, trash=False)
def _make_tmpfile(self):