diff --git a/database/actions.py b/database/actions.py index 3b2cdcf568dca5676ed4e32f298be6b50ead6a3e..bdf064869b7e056d5c406aa52150a219771f84f5 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()