summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/remote/RequestHandler.py2
-rw-r--r--module/thread_list.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/remote/RequestHandler.py b/module/remote/RequestHandler.py
index 7fa85abe1..415a8bba7 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 = hashlib.sha256("pwhere") #core.config['remotepassword']
+ key = hashlib.sha256(core.config['remotepassword'])
self.bf = Blowfish.new(key.hexdigest(), Blowfish.MODE_ECB)
def proceed(self, data):
diff --git a/module/thread_list.py b/module/thread_list.py
index a359558d7..cf3df9f94 100644
--- a/module/thread_list.py
+++ b/module/thread_list.py
@@ -121,7 +121,7 @@ class Thread_List(object):
def init_reconnect(self):
"""initialise a reonnect"""
- if not self.parent.config['use_reconnect'] or self.reconnecting:
+ if not self.parent.config['use_reconnect'] or self.reconnecting or not self.parent.is_reconnect_time():
return False
if not exists(self.parent.config['reconnect_method']):