diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-23 00:33:49 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-23 00:33:49 +0200 |
commit | 967a43fd6680b5db0d3494e31d09549b58b30640 (patch) | |
tree | 165ab029311f24b0f3e6764d26c17a002d6c9260 /module/remote | |
parent | reconnect works with new plugin system (diff) | |
download | pyload-967a43fd6680b5db0d3494e31d09549b58b30640.tar.xz |
cli able to delete links in queue
Diffstat (limited to 'module/remote')
-rw-r--r-- | module/remote/RequestHandler.py | 6 | ||||
-rw-r--r-- | module/remote/RequestObject.py | 1 |
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 |