diff --git a/database/actions.py b/database/actions.py index 1cf3bb52af8d8a0334bc7659021ca15afe3b4f65..cb83c298508a8b378d4adb2880f1e7cf7936bc42 100644 --- a/database/actions.py +++ b/database/actions.py @@ -124,6 +124,7 @@ def update_from_file(file_name, table, year, columns=None, ttable = temporary_data(connection, file_name, table, year, offset, delimiters, null) table.update_from_temporary(ttable, columns, bind=connection) + ttable.drop() trans.commit()