From 29ecc7ccc6f1dfed39faa28f5a6aec23c5d0a3d6 Mon Sep 17 00:00:00 2001 From: godp21 <godp21@inf.ufpr.br> Date: Thu, 31 Mar 2022 11:53:17 -0300 Subject: [PATCH] adding some logs --- database/actions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/database/actions.py b/database/actions.py index 3b2cdcf..bdf0648 100644 --- a/database/actions.py +++ b/database/actions.py @@ -67,6 +67,7 @@ def insert(file_name, table, year, offset=2, delimiters=[';', '\\n', '"'], null= trans = connection.begin() ttable = temporary_data(connection, file_name, table, year, offset, delimiters, null) + write(ttable) table.insert_from_temporary(ttable, bind=connection) trans.commit() -- GitLab