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