diff options
Diffstat (limited to 'module/remote/RequestHandler.py')
-rw-r--r-- | module/remote/RequestHandler.py | 6 |
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" |