diff options
author | spoob <spoob@gmx.de> | 2009-08-18 20:56:50 +0200 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-08-18 20:56:50 +0200 |
commit | 0e843b30e373d286df59fe768fb43a39e1416b61 (patch) | |
tree | eef42d764d30279822ae3b5cfa5388261d965c94 /module/file_list.py | |
parent | new webinterface functions (diff) | |
download | pyload-0e843b30e373d286df59fe768fb43a39e1416b61.tar.xz |
Updated Config System
Diffstat (limited to 'module/file_list.py')
-rw-r--r-- | module/file_list.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/file_list.py b/module/file_list.py index a83ab61a5..35bec757f 100644 --- a/module/file_list.py +++ b/module/file_list.py @@ -37,7 +37,7 @@ class File_List(object): def new_pyfile(self, url): url = url.replace("\n", "") pyfile = PyLoadFile(self.core, url) - pyfile.download_folder = self.core.config['download_folder'] + pyfile.download_folder = self.core.config['general']['download_folder'] pyfile.id = self.get_id() return pyfile @@ -56,7 +56,7 @@ class File_List(object): self.append(url) def remove(self, pyfile): - if not self.core.config['debug_mode']: + if not self.core.config['general']['debug_mode']: if pyfile in self.files: self.files.remove(pyfile) |