diff options
| author | 2009-06-20 22:30:39 +0200 | |
|---|---|---|
| committer | 2009-06-20 22:30:39 +0200 | |
| commit | 58e518383ecd8c0d24178b44286185e505e2f766 (patch) | |
| tree | 6dbbc9adba9b276585bc0275eb17709021ac75a6 /pyLoadCore.py | |
| parent | colorful cli (diff) | |
| download | pyload-58e518383ecd8c0d24178b44286185e505e2f766.tar.xz | |
added function to add new downloads to the core
Diffstat (limited to 'pyLoadCore.py')
| -rw-r--r-- | pyLoadCore.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index 84d1322dd..25c9ae191 100644 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -246,6 +246,10 @@ class Core(object): sleep(1) exit() + + def add_links(self, links): + self.file_list.extend(links) + self.file_list.save() if __name__ == "__main__": testLoader = Core() |
