summaryrefslogtreecommitdiffstats
path: root/module/file_list.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-12-15 23:09:09 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-12-15 23:09:09 +0100
commit13328322307cde0c9fdd62bfccbcf4a78404164b (patch)
treef102fc1124e7844914c65cdbc19dbf99a9185930 /module/file_list.py
parentFixed LinkList.py and .part renaming (diff)
downloadpyload-13328322307cde0c9fdd62bfccbcf4a78404164b.tar.xz
incomplete: stable gui O.o, folder fix
Diffstat (limited to 'module/file_list.py')
-rw-r--r--module/file_list.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/file_list.py b/module/file_list.py
index 2bfe37298..ea4fd5767 100644
--- a/module/file_list.py
+++ b/module/file_list.py
@@ -203,7 +203,7 @@ class File_List(object):
"""
pyfile = PyLoadFile(url, collector.file_list)
pyfile.id = collector._getFreeID()
- pyfile.download_folder = collector.file_list.download_folder
+ pyfile.folder = collector.file_list.download_folder
collector.file_list.lock.acquire()
collector.file_list.data["collector"].append(pyfile)
collector.file_list.lock.release()
@@ -363,19 +363,18 @@ class PyLoadPackage():
self.data = {
"id": None,
"package_name": "new_package",
- "folder": None
+ "folder": ""
}
class PyLoadFile():
def __init__(self, url, file_list):
self.id = None
self.url = url
- self.folder = None
+ self.folder = ""
self.file_list = file_list
self.core = file_list.core
self.package = None
self.filename = "n/a"
- self.download_folder = ""
self.active = False
pluginName = self._get_my_plugin()
if pluginName: