summaryrefslogtreecommitdiffstats
path: root/module/remote
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
parentreconnect works with new plugin system (diff)
downloadpyload-967a43fd6680b5db0d3494e31d09549b58b30640.tar.xz
cli able to delete links in queue
Diffstat (limited to 'module/remote')
-rw-r--r--module/remote/RequestHandler.py6
-rw-r--r--module/remote/RequestObject.py1
2 files changed, 3 insertions, 4 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"
diff --git a/module/remote/RequestObject.py b/module/remote/RequestObject.py
index 0141b5e1d..54ea837a6 100644
--- a/module/remote/RequestObject.py
+++ b/module/remote/RequestObject.py
@@ -15,5 +15,4 @@ class RequestObject(object):
self.command = None
self.function = ""
self.args = []
- self.response = None
self.data = None