diff options
author | Wugy <wugy@mally-soft.com> | 2009-12-21 18:15:56 +0100 |
---|---|---|
committer | Wugy <wugy@mally-soft.com> | 2009-12-21 18:15:56 +0100 |
commit | 7dd0c96037b0f91f761126d20e477e0e83e20825 (patch) | |
tree | d4cc7baa4e3fea8306a8ae79d2f726a226de7f78 /pyLoadCore.py | |
parent | pause/start button works (diff) | |
download | pyload-7dd0c96037b0f91f761126d20e477e0e83e20825.tar.xz |
total progressbar bullshit
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 9 |
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):
|