diff options
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):
|