From c273f258aa78034663b3ad026daddbc703de00d5 Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Sun, 13 Sep 2020 21:19:30 +0100 Subject: [PATCH] updates --- komrade/backend/operators.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/komrade/backend/operators.py b/komrade/backend/operators.py index ed45e81..1d39200 100644 --- a/komrade/backend/operators.py +++ b/komrade/backend/operators.py @@ -19,7 +19,7 @@ PHONEBOOK = {} def locate_an_operator(name=None,pubkey=None): global OPERATOR,TELEPHONE,PHONEBOOK if name in PHONEBOOK: return PHONEBOOK[name] - if pubkey in PHONEBOOK: return PHONEBOOK[pubkey] + # if pubkey in PHONEBOOK: return PHONEBOOK[pubkey] from komrade.backend.the_operator import TheOperator from komrade.backend.the_telephone import TheTelephone @@ -43,9 +43,9 @@ def locate_an_operator(name=None,pubkey=None): return TELEPHONE - self.log('name????') + print('name????',name) from komrade.backend.komrades import Komrade - PHONEBOOK[name] = PHONEBOOK[pubkey] = caller = Komrade(name=name) + PHONEBOOK[name] = caller = Komrade(name=name) return caller from komrade.constants import OPERATOR_ROUTES