summaryrefslogtreecommitdiffstats
path: root/module/file_list.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-01-21 19:39:27 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2010-01-21 19:39:27 +0100
commitbdb3deb371bbbcb5452e97ee560b793834d1a3f3 (patch)
tree4f958f3dad2d8a39832577cd1ff1608856e878fc /module/file_list.py
parentqueue page fully functional, some fixes (diff)
downloadpyload-bdb3deb371bbbcb5452e97ee560b793834d1a3f3.tar.xz
fixed link deletion
Diffstat (limited to 'module/file_list.py')
-rw-r--r--module/file_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/file_list.py b/module/file_list.py
index 2a7ecb191..bbea40e23 100644
--- a/module/file_list.py
+++ b/module/file_list.py
@@ -326,7 +326,7 @@ class File_List(object):
key, n, pyfile, pypack, pid = packager._getFileFromID(id)
pyfile.plugin.req.abort = True
sleep(0.1)
- del pypack.files[n]
+ packager.removeFileFromPackage(id, pid)
if not pypack.files:
packager.removePackage(pid)
finally: