summaryrefslogtreecommitdiffstats
path: root/module/remote/RequestHandler.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-23 00:33:49 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-23 00:33:49 +0200
commit967a43fd6680b5db0d3494e31d09549b58b30640 (patch)
tree165ab029311f24b0f3e6764d26c17a002d6c9260 /module/remote/RequestHandler.py
parentreconnect works with new plugin system (diff)
downloadpyload-967a43fd6680b5db0d3494e31d09549b58b30640.tar.xz
cli able to delete links in queue
Diffstat (limited to 'module/remote/RequestHandler.py')
-rw-r--r--module/remote/RequestHandler.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/remote/RequestHandler.py b/module/remote/RequestHandler.py
index 5d39623c3..7fa85abe1 100644
--- a/module/remote/RequestHandler.py
+++ b/module/remote/RequestHandler.py
@@ -29,9 +29,9 @@ class RequestHandler:
if obj.command == "exec":
func = getattr(self.core, obj.function)
- obj.response = func( * obj.args)
+ obj.data = func( * obj.args)
else:
- obj.response = "error happend"
+ obj.data = "error happend"
return self.encrypt(obj)
@@ -61,4 +61,4 @@ class RequestHandler:
enc_str = self.bf.encrypt(enc_str)
enc_str = base64.standard_b64encode(enc_str)
- return enc_str + "\n" \ No newline at end of file
+ return enc_str + "\n"