Skip to content
Snippets Groups Projects
Commit 29ecc7cc authored by Guiusepe's avatar Guiusepe
Browse files

adding some logs

parent 9bc1587f
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment