diff options
author | spoob <spoob@gmx.de> | 2009-06-18 15:16:47 +0200 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-06-18 15:16:47 +0200 |
commit | a66fbfd2b39bcd98967c439060951e63e0532c0a (patch) | |
tree | dd4b693423b4e448055a6146f81d98882477519f /module/file_list.py | |
parent | worked on gigasize.com Plugin (diff) | |
download | pyload-a66fbfd2b39bcd98967c439060951e63e0532c0a.tar.xz |
fixed some bugs
Diffstat (limited to 'module/file_list.py')
-rw-r--r-- | module/file_list.py | 8 |
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""" |