From dbd67746f7de77d18ece5bb04f0fc11fa9d739af Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Mon, 5 Oct 2020 19:59:55 +0100 Subject: [PATCH] updates --- comrad/backend/switchboard.py | 2 +- comrad/backend/the_telephone.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/comrad/backend/switchboard.py b/comrad/backend/switchboard.py index 68e8a63..4d4193c 100644 --- a/comrad/backend/switchboard.py +++ b/comrad/backend/switchboard.py @@ -27,7 +27,7 @@ class TheSwitchboard(FlaskView, Logger): def post(self): clear_screen() from comrad.cli.artcode import ART_OLDPHONE4 - data_b=requests.data + data_b=request.data self.log(f'Incoming call! {ART_OLDPHONE4}')#': {data_b}') diff --git a/comrad/backend/the_telephone.py b/comrad/backend/the_telephone.py index 5247593..07e2946 100644 --- a/comrad/backend/the_telephone.py +++ b/comrad/backend/the_telephone.py @@ -67,7 +67,7 @@ class TheTelephone(Operator): # URL = self.api_url + msg_b64_str_esc + '/' - self.log("DIALING THE OPERATOR:",URL) + self.log("DIALING THE OPERATOR:",self.api_url,'...') # phonecall=await self.comrad_request_async(URL) # import asyncio