From 95504d27728bfb281cf593a7bffcbabc37c34ac1 Mon Sep 17 00:00:00 2001 From: jrafaelrn Date: Tue, 23 Apr 2024 11:07:53 -0300 Subject: [PATCH] fix time sleep - Insert OK!! --- src/functions/bd_update_banks/bank_sicredi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions/bd_update_banks/bank_sicredi.py b/src/functions/bd_update_banks/bank_sicredi.py index 6e3664e..5e8e0dc 100644 --- a/src/functions/bd_update_banks/bank_sicredi.py +++ b/src/functions/bd_update_banks/bank_sicredi.py @@ -66,7 +66,6 @@ def import_extrato_sicredi(extrato_file, account_name): DATA_JSON = json.dumps(DATA) import_accumulated_sicredi(DATA_JSON) - time.sleep(1) in_progress = True @@ -114,6 +113,7 @@ def import_accumulated_sicredi(data_transaction): bd.insert(acumulado) acumulado = [] contador_acumulado = 0 + time.sleep(1)