finally! abolishing private key property

operator-time
quadrismegistus 4 years ago
parent ba8ca70365
commit 748493e1fa

@ -66,8 +66,9 @@ class TheSwitchboard(FlaskView, Logger):
# # step 3: give to The Operator
try:
# return 'Success! your message was: '+str(data)
self.log('Success! your message was: '+str(data))
res = self.op.receive(data)
self.log('Your return result should be:',res)
return res
except AssertionError as e:
self.log('got exception!!',e)

@ -32,10 +32,7 @@ class TheTelephone(Operator):
# self.log(cmd)
# os.system(cmd)
# exit()
try:
r=await tor_request_async(URL)
except TypeError:
return r
r=await tor_request_async(URL)
return r
@ -99,10 +96,10 @@ class TheTelephone(Operator):
# send!
req_data_encr_b64_str = req_data_encr_b64.decode('utf-8')
try:
res = await self.dial_operator(req_data_encr_b64_str)
except TypeError:
res = None
#try:
res = await self.dial_operator(req_data_encr_b64_str)
#except TypeError:
# res = None
self.log('result from operator?',res)
return res

Loading…
Cancel
Save