summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/internal/Container.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-15 16:00:52 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-15 16:00:52 +0100
commit8a54e49327df06a8955fc8850756ca52252f6e4f (patch)
treeec115d8d83d731c03d037997c35af13fdfc2c638 /pyload/plugins/internal/Container.py
parentUpdate PluginManager (diff)
downloadpyload-8a54e49327df06a8955fc8850756ca52252f6e4f.tar.xz
Code cosmetics
Diffstat (limited to 'pyload/plugins/internal/Container.py')
-rw-r--r--pyload/plugins/internal/Container.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/internal/Container.py b/pyload/plugins/internal/Container.py
index 4bd6644f9..b7dd3aa20 100644
--- a/pyload/plugins/internal/Container.py
+++ b/pyload/plugins/internal/Container.py
@@ -43,7 +43,7 @@ class Container(Crypter):
if self.pyfile.url.startswith("http"):
self.pyfile.name = re.findall("([^\/=]+)", self.pyfile.url)[-1]
content = self.load(self.pyfile.url)
- self.pyfile.url = safe_join(self.config['general']['download_folder'], self.pyfile.name)
+ self.pyfile.url = safe_join(self.core.config['general']['download_folder'], self.pyfile.name)
try:
with open(self.pyfile.url, "wb") as f:
f.write(content)