summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-07-07 02:31:06 +0200
committerGravatar spoob <spoob@gmx.de> 2009-07-07 02:31:06 +0200
commiteb8f1becf467a837e3eaaffbe08c31c790b7273d (patch)
tree54611ccd1b09965292355102460695e3e594c976
parentrapidshare server selection, ul.to links works (diff)
downloadpyload-eb8f1becf467a837e3eaaffbe08c31c790b7273d.tar.xz
may stable
-rw-r--r--module/file_list.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/module/file_list.py b/module/file_list.py
index 3a4e531d7..303c49a80 100644
--- a/module/file_list.py
+++ b/module/file_list.py
@@ -57,13 +57,11 @@ class File_List(object):
def remove(self, pyfile):
- pass
-
- #if pyfile in self.files:
- #self.files.remove(pyfile)
-#
- #self.data['order'].remove(pyfile.id)
- #del self.data[pyfile.id]
+ if pyfile in self.files:
+ self.files.remove(pyfile)
+
+ self.data['order'].remove(pyfile.id)
+ del self.data[pyfile.id]
def remove_id(self, pyid):
#also abort download