summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-05 00:31:36 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-05 00:31:36 +0200
commitf08de5a2f377134fcbfe95cc28b5030f3d834da5 (patch)
treeb588f136c31e5feb8e8b92809fc81c6e563a3b82 /pyLoadCore.py
parentgregy's great webif patch for chrome (diff)
downloadpyload-f08de5a2f377134fcbfe95cc28b5030f3d834da5.tar.xz
fix for gui
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 40b87ab76..4e0e8cb08 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -521,7 +521,7 @@ class ServerMethods():
pass
def push_package_to_queue(self, id):
- self.core.files.pushPackageToQueue(id)
+ self.core.files.setPackageLocation(id, 1)
def restart_package(self, packid):
self.core.files.restartPackage(int(packid))
@@ -568,8 +568,7 @@ class ServerMethods():
def pull_out_package(self, pid):
"""put package back to collector"""
- #@TODO implement
- pass
+ self.core.files.setPackageLocation(pid, 0)
def is_captcha_waiting(self):
self.core.lastClientConnected = time.time()