From 1ef1cc2530e933a53a03c5164d349c5acde9248e Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Thu, 19 Aug 2021 15:16:02 -0400 Subject: [PATCH] Change from hardcode account 99 --- app/methods/person_methods.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/methods/person_methods.py b/app/methods/person_methods.py index 4ea2505..0fc2b9f 100644 --- a/app/methods/person_methods.py +++ b/app/methods/person_methods.py @@ -313,9 +313,9 @@ def get_person_rec_w_external_id( log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) - # if account_id := redis_lookup_id_random(record_id_random=account_id, table_name='account'): pass - # else: return False - account_id = 99 + if account_id := redis_lookup_id_random(record_id_random=account_id, table_name='account'): pass + else: return False + # account_id = 99 data = {} data['account_id'] = account_id