diff options
Diffstat (limited to 'pyLoadCore.py')
-rw-r--r-- | pyLoadCore.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index 3a46aea21..a9364d98a 100644 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -250,6 +250,14 @@ class Core(object): self.file_list.extend(links) self.file_list.save() + def remove_links(self, ids): + for id in ids: + self.file_list.remove_id(id) + self.file_list.save() + + def get_links(self): + return self.file_list.data + if __name__ == "__main__": testLoader = Core() testLoader.start() |