mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-05 21:20:51 +00:00
updates
This commit is contained in:
parent
ed7b07a992
commit
e63c6dfaf4
@ -16,12 +16,15 @@ class TheSwitchboard(FlaskView, Logger):
|
||||
@property
|
||||
def op(self):
|
||||
global OP_PASS
|
||||
|
||||
from komrade.backend.the_operator import TheOperator
|
||||
if type(self)==TheOperator: return self
|
||||
if hasattr(self,'_op'): return self._op
|
||||
global OPERATOR,OPERATOR_KEYCHAIN
|
||||
if OPERATOR: return OPERATOR
|
||||
self._op=OPERATOR=TheOperator()
|
||||
|
||||
self.log(f'@Operator waiting for incoming calls on {OPERATOR_API_URL}...',pause=False)
|
||||
return OPERATOR
|
||||
|
||||
|
||||
|
@ -40,7 +40,7 @@ class TheOperator(Operator):
|
||||
self._keychain = self.keychain()
|
||||
# self.log('@Operator booted with keychain:',dict_format(self._keychain),'and passphrase',self.passphrase)
|
||||
clear_screen()
|
||||
self.log(f'@Operator waiting for incoming calls on {OPERATOR_API_URL}...',pause=False)
|
||||
|
||||
|
||||
def ring(self,
|
||||
from_caller=None,
|
||||
|
Loading…
Reference in New Issue
Block a user