summaryrefslogtreecommitdiffstats
path: root/module/remote/RequestHandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/remote/RequestHandler.py')
-rw-r--r--module/remote/RequestHandler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/remote/RequestHandler.py b/module/remote/RequestHandler.py
index 1405fd3eb..212f65b1c 100644
--- a/module/remote/RequestHandler.py
+++ b/module/remote/RequestHandler.py
@@ -21,7 +21,7 @@ from RequestObject import RequestObject
class RequestHandler:
def __init__(self, core):
self.core = core
- key = SHA.new(core.config['remotepassword'])
+ key = SHA.new("pwhere") #core.config['remotepassword']
key = MD5.new(key.hexdigest())
self.aes = AES.new(key.hexdigest(), AES.MODE_ECB)
@@ -32,7 +32,7 @@ class RequestHandler:
func = getattr(self.core, obj.function)
obj.response = func(*obj.args)
else:
- obj.response = "antwort"
+ obj.response = "error happend"
return self.encrypt(obj)