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