summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-11-27 16:55:55 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-11-27 16:55:55 +0100
commit80cd07afb67746a0279d6f194102e0d52bdbba29 (patch)
tree84a024d58c87ebfd5f6ddd8cd598ae5d44b562b7 /pyLoadCore.py
parentcomplete new file_list, cleaned up (diff)
downloadpyload-80cd07afb67746a0279d6f194102e0d52bdbba29.tar.xz
fixed file_list
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 16387c302..df4e472c6 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -322,7 +322,8 @@ class Core(object):
return CURRENT_VERSION
def add_urls(self, links):
- self.file_list.extend(links)
+ for link in links:
+ self.file_list.collector.addLink(link)
self.file_list.save()
def del_urls(self, ids):