event list token updated

This commit is contained in:
2024-12-07 16:18:11 +03:00
parent 9e955841c3
commit 6ba0e37ffd
13 changed files with 243 additions and 213 deletions

View File

@@ -56,7 +56,7 @@ def account_records_find_decision_book():
created_ibans.append(account_record.iban)
except Exception as e:
print("Exception of find_decision_book ln:55", e)
if not found_iban.build_id: # It is in database already
if not getattr(found_iban, 'build_id', None): # It is in database already
iban_build_dict["iban"] = account_record.iban
iban_build_dict["build_id"] = None
else:
@@ -329,9 +329,11 @@ def send_accounts_to_decision_payment():
def account_records_service() -> None:
print('Account Records Service is running...')
account_records_find_decision_book()
account_records_search()
send_accounts_to_decision_payment()
print('Account Records Service is finished...')
return