Change from hardcode account 99

This commit is contained in:
Scott Idem
2021-08-19 15:16:02 -04:00
parent 57c1c61ce1
commit 1ef1cc2530

View File

@@ -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