summaryrefslogtreecommitdiffstats
path: root/module/file_list.py
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-12-16 22:28:57 +0100
committerGravatar spoob <spoob@gmx.de> 2009-12-16 22:28:57 +0100
commit9fd8d0c20d4495319b72bd2faa7275c75a7fcacc (patch)
tree2d1ac039749143801e8e41a0244874bbf2ffe4ef /module/file_list.py
parentnew images (diff)
downloadpyload-9fd8d0c20d4495319b72bd2faa7275c75a7fcacc.tar.xz
Fixed Relink.us, Uploaded.to Name Bug
Diffstat (limited to 'module/file_list.py')
-rw-r--r--module/file_list.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/file_list.py b/module/file_list.py
index ae168900b..1cd069de7 100644
--- a/module/file_list.py
+++ b/module/file_list.py
@@ -144,7 +144,7 @@ class File_List(object):
info["id"] = pyfile.id
info["url"] = pyfile.url
info["folder"] = pyfile.folder
- info["filename"] = pyfile.filename
+ info["filename"] = pyfile.status.filename
info["status_type"] = pyfile.status.type
info["status_url"] = pyfile.status.url
info["status_filename"] = pyfile.status.filename
@@ -389,8 +389,7 @@ class PyLoadFile():
pluginClass = module.Plugin.Plugin
self.plugin = pluginClass(self)
self.status = Status(self)
- if self.plugin.file_exists():
- self.filename = self.plugin.get_file_name()
+ self.status.filename = self.url
def _get_my_plugin(self):
for plugin, plugin_pattern in self.core.plugins_avaible.items():