summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar Wugy <wugy@mally-soft.com> 2009-12-21 18:15:56 +0100
committerGravatar Wugy <wugy@mally-soft.com> 2009-12-21 18:15:56 +0100
commit7dd0c96037b0f91f761126d20e477e0e83e20825 (patch)
treed4cc7baa4e3fea8306a8ae79d2f726a226de7f78 /pyLoadCore.py
parentpause/start button works (diff)
downloadpyload-7dd0c96037b0f91f761126d20e477e0e83e20825.tar.xz
total progressbar bullshit
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 9eb385553..2a9cbbc59 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -372,8 +372,7 @@ class ServerMethods():
if self.core.thread_list.pause:
self.core.thread_list.pause = False
else:
- self.core.thread_list.pause = True
- return self.core.thread_list.pause
+ self.core.thread_list.pause = True
def status_server(self):
status = {}
@@ -395,10 +394,8 @@ class ServerMethods():
return CURRENT_VERSION
def add_urls(self, links):
- for link in links:
- link = link.strip()
- if link.startswith("http") or exists(link):
- self.core.file_list.collector.addLink(link)
+ for link in links:
+ self.core.file_list.collector.addLink(link)
self.core.file_list.save()
def add_package(self, name, links):