diff options
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""" |