diff options
Diffstat (limited to 'module/file_list.py')
-rw-r--r-- | module/file_list.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/module/file_list.py b/module/file_list.py index 3a1c866dc..ea2dfd817 100644 --- a/module/file_list.py +++ b/module/file_list.py @@ -50,10 +50,12 @@ class File_List(object): def remove(self, pyfile): - if pyfile in self.files: - self.files.remove(pyfile) + pass - del self.data[pyfile.id] + #if pyfile in self.files: + # self.files.remove(pyfile) + + #del self.data[pyfile.id] def get_id(self): """return a free id""" @@ -62,7 +64,6 @@ class File_List(object): id += 1 return id - def save(self): output = open('links.pkl', 'wb') @@ -95,4 +96,4 @@ class File_List(object): class Data(): def __init__(self, url): - self.url = url
\ No newline at end of file + self.url = url |