diff --git a/src/functions/bd_update_banks/bank_sicredi.py b/src/functions/bd_update_banks/bank_sicredi.py index 00ad79e..27e771f 100644 --- a/src/functions/bd_update_banks/bank_sicredi.py +++ b/src/functions/bd_update_banks/bank_sicredi.py @@ -183,7 +183,7 @@ def import_card_sicredi(extrato_file, balance, date_payment_card, conta): DATA_JSON = json.dumps(DATA) - bd.insert(DATA_JSON) + bd.insert([DATA_JSON]) except Exception as e: msg = f'Linha inválida: {linha}\n\t error: {e}'