summaryrefslogtreecommitdiffstats
path: root/module/file_list.py
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-06-18 15:16:47 +0200
committerGravatar spoob <spoob@gmx.de> 2009-06-18 15:16:47 +0200
commita66fbfd2b39bcd98967c439060951e63e0532c0a (patch)
treedd4b693423b4e448055a6146f81d98882477519f /module/file_list.py
parentworked on gigasize.com Plugin (diff)
downloadpyload-a66fbfd2b39bcd98967c439060951e63e0532c0a.tar.xz
fixed some bugs
Diffstat (limited to 'module/file_list.py')
-rw-r--r--module/file_list.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/module/file_list.py b/module/file_list.py
index ea2dfd817..00a3e0603 100644
--- a/module/file_list.py
+++ b/module/file_list.py
@@ -50,12 +50,10 @@ class File_List(object):
def remove(self, pyfile):
- pass
+ if pyfile in self.files:
+ self.files.remove(pyfile)
- #if pyfile in self.files:
- # self.files.remove(pyfile)
-
- #del self.data[pyfile.id]
+ del self.data[pyfile.id]
def get_id(self):
"""return a free id"""