diff options
author | 2015-04-16 22:33:28 +0200 | |
---|---|---|
committer | 2015-04-16 22:33:28 +0200 | |
commit | 21c2ac71d045ae50a705d8ab0ac1e960d462e001 (patch) | |
tree | 896ff1eaae9151d83be150735c96a37a61d2d038 /pyload/plugin/Container.py | |
parent | fixed: more typos (diff) | |
parent | Merge pull request #5 from ardi69/0.4.10 (diff) | |
download | pyload-21c2ac71d045ae50a705d8ab0ac1e960d462e001.tar.xz |
Merge pull request #2 from vuolter/0.4.10
merge from vuolter
Diffstat (limited to 'pyload/plugin/Container.py')
-rw-r--r-- | pyload/plugin/Container.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/Container.py b/pyload/plugin/Container.py index 87d75976f..e8e42bb2b 100644 --- a/pyload/plugin/Container.py +++ b/pyload/plugin/Container.py @@ -45,7 +45,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 = fs_join(self.core.config['general']['download_folder'], self.pyfile.name) + self.pyfile.url = fs_join(self.core.config.get("general", "download_folder"), self.pyfile.name) try: with open(self.pyfile.url, "wb") as f: f.write(content) |