summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-12 01:04:42 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-12 01:04:42 +0200
commite454b64599f64ebe627cb2edad2fb332c6eb5907 (patch)
treeb5d0d1d9684687e28309672811c1a44d15178c4b /pyLoadCore.py
parentaccount plugin change, server methods for accounts (diff)
downloadpyload-e454b64599f64ebe627cb2edad2fb332c6eb5907.tar.xz
renaming fix, get job by priority
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 246bdadc6..0f6cc4268 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -569,8 +569,9 @@ class ServerMethods():
def set_package_name(self, pid, name):
- #@TODO
- self.core.file_list.packager.setPackageData(pid, package_name=name)
+ pack = self.core.files.getPackage(pid)
+ pack.name = name
+ pack.sync()
def pull_out_package(self, pid):
"""put package back to collector"""