summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-04 22:21:32 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-04 22:21:32 +0200
commitea77f4d1550ec0225171bb48fd6d1189f868148a (patch)
treedad4abf836dd0e583008ea74250dd326d2270fb8 /pyLoadCore.py
parentfixed pull manager, fixed gui stuff (diff)
downloadpyload-ea77f4d1550ec0225171bb48fd6d1189f868148a.tar.xz
implemented push to queue
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index d66b69a42..40b87ab76 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -486,7 +486,9 @@ class ServerMethods():
return self.core.files.getPackageData(int(id))
def get_file_data(self, id):
- return self.core.files.getFileData(id)
+ info = self.core.files.getFileData(int(id))
+ info = {str(info.keys()[0]): info[info.keys()[0]]}
+ return info
def del_links(self, ids):
for id in ids:
@@ -519,8 +521,7 @@ class ServerMethods():
pass
def push_package_to_queue(self, id):
- #@TODO implement
- pass
+ self.core.files.pushPackageToQueue(id)
def restart_package(self, packid):
self.core.files.restartPackage(int(packid))