summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar kingzero <devnull@localhost> 2009-06-20 22:30:39 +0200
committerGravatar kingzero <devnull@localhost> 2009-06-20 22:30:39 +0200
commit58e518383ecd8c0d24178b44286185e505e2f766 (patch)
tree6dbbc9adba9b276585bc0275eb17709021ac75a6 /pyLoadCore.py
parentcolorful cli (diff)
downloadpyload-58e518383ecd8c0d24178b44286185e505e2f766.tar.xz
added function to add new downloads to the core
Diffstat (limited to 'pyLoadCore.py')
-rw-r--r--pyLoadCore.py4
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()