diff options
author | mkaay <mkaay@mkaay.de> | 2009-12-23 00:04:36 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2009-12-23 00:04:36 +0100 |
commit | a5ff0482ede8bd7bd932482887f2f7cdae5039d9 (patch) | |
tree | 0d59800acd09c72ddb9c1e360d6a9c065cf184b7 /pyLoadCore.py | |
parent | more docstrings, small design changes (diff) | |
download | pyload-a5ff0482ede8bd7bd932482887f2f7cdae5039d9.tar.xz |
core: downloadlimit is not far away ;) gui: restart download action
Diffstat (limited to 'pyLoadCore.py')
-rw-r--r-- | pyLoadCore.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index 8ca45f2e2..232adc253 100644 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -473,7 +473,14 @@ class ServerMethods(): self.core.file_list.collector.removeFile(fid)
def push_package_2_queue(self, id):
- self.core.file_list.packager.pushPackage2Queue(id)
+ self.core.file_list.packager.pushPackage2Queue(id) + + def restart_package(self, packid): + for id in self.core.file_list.packager.getPackageFiles(packid): + self.core.file_list.packager.resetFileStatus(id) + + def restart_file(self, fileid): + self.core.file_list.packager.resetFileStatus(fileid)
#def move_urls_up(self, ids):
# for id in ids:
|