From 62d2ae5dde96c797b7e104712940ae5bd6d48aca Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Sat, 5 Sep 2020 23:37:58 +0100 Subject: [PATCH] updates --- komrade/backend/switchboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/komrade/backend/switchboard.py b/komrade/backend/switchboard.py index 933f52e..87dbed4 100644 --- a/komrade/backend/switchboard.py +++ b/komrade/backend/switchboard.py @@ -26,7 +26,7 @@ class TheTelephone(Logger): def dial_operator(self,msg): URL = OPERATOR_API_URL + msg - r=tor_request_in_python(URL) + r=tor_request_in_python(OPERATOR_API_URL) print(r) print(r.text) return r @@ -96,7 +96,7 @@ class TheSwitchboard(FlaskView, Logger): @route('/please/') def please(self,encr_b64_str=None): - # return 'helloooooo?' + return 'helloooooo?' if not encr_b64_str: return OPERATOR_INTERCEPT_MESSAGE if not isBase64(encr_b64_str): return OPERATOR_INTERCEPT_MESSAGE