summaryrefslogtreecommitdiffstats
path: root/module/file_list.py
diff options
context:
space:
mode:
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: